Primitive types?AnswerHide
undefined, null, boolean, number, bigint, string and symbol.
typeof null?AnswerHide
Returns object for historical compatibility; check for null explicitly.
NaN === NaN?AnswerHide
False. Use Number.isNaN or Object.is.
null and undefined?AnswerHide
Null usually expresses intentional absence; undefined expresses lack of value or property.
Truthy and false?AnswerHide
The boolean conversion determines branches; Empty objects and arrays are truthy.
Temporal Dead Zone?AnswerHide
It is the stretch between the entry to the block and the initialization of a let, const or class binding. The binding already belongs to the , but reading it throws ReferenceError; for example, console.log(total); let total = 1;.
Hosting?AnswerHide
The environment registers statements before executing; Availability depends on the type of declaration.
this?AnswerHide
Receiver of a call according to call-site, except arrow that captures the external binding.
call, apply, bind?AnswerHide
Call invokes with arguments; apply with array-like; bind creates another function with receiver or set arguments.
Coercion?AnswerHide
Conversion between types. It can be explicit with Number, String, or Boolean, or implicit when an operator or context requires another type.
Closure?AnswerHide
A function preserves the bindings from the lexical environment where it was created, even when it runs after the outer function has finished. It preserves live bindings, not a frozen copy of their values.
Spread and rest?AnswerHide
Same syntax: spread expands; rest gathers remaining values.
Destructuring default?AnswerHide
Applies to undefined, not null.
Shallow copy?AnswerHide
Create a new container and keep the same nested references. With const copy = { ...original }, copy !== original, but copy.user === original.user if user is an object.
structuredClone?AnswerHide
Clone supported structures and cycles; does not clone functions.
Prototype?AnswerHide
Delegate object that consults when a property is missing from the receiver.
Own property?AnswerHide
Property defined on the object, testable with Object.hasOwn.
for...in or for...of?AnswerHide
In loops enumerable keys; of loops through values of an iterable.
Mutable array methods?AnswerHide
Push, pop, shift, unshift, splice, sort, reverse, fill and copyWithin.
find or filter?AnswerHide
Find returns the first match; filter creates an array with all of them.
Pure function?AnswerHide
Same result for same inputs and without .
Currying?AnswerHide
Converts a multi-argument function into a sequence of functions.
Debounce or throttle?AnswerHide
Debounce awaits silence; throttle limits executions per interval.
Promise.all?AnswerHide
Maintain order and reject the first rejection observed.
allSettled?AnswerHide
Waits for all and returns the status of each operation.
AbortController?AnswerHide
Issues a cancellation that is consumed by fetch and other APIs.
Does Async block the thread?AnswerHide
No. Await yields the continuation; Synchronous CPU keeps blocking.
Unhandled rejection?AnswerHide
rejected without handler; register it and correct the chain, do not hide it.
DOM?AnswerHide
Tree of nodes and APIs that represent the document.
BOOM?AnswerHide
Outside-of-document browser APIs, such as history, location, and navigator.
Event bubbling?AnswerHide
The event ascends from the target by participating ancestors.
Event delegation?AnswerHide
Listener in an ancestor that decides according to the target; reduce listeners and cover dynamic children.
preventDefault?AnswerHide
Avoid the default action if the event is cancelable.
localStorage?AnswerHide
String synchronous storage by origin and persistent.
IndexedDB?AnswerHide
Asynchronous browser base for structured data and higher volume.
Same-origin?AnswerHide
Matching scheme, host and port.
Preflight?AnswerHide
Request OPTIONS with which the browser queries permission .
ETag?AnswerHide
Representation validator for conditional revalidation.
Service Worker?AnswerHide
Worker with lifecycle that intercepts network and enables offline/push.
Web Worker?AnswerHide
Thread for without direct access to .
Semantic label?AnswerHide
Element whose name communicates the role and structure of the navigator and assistive technologies.
head?AnswerHide
Metadata and document resources, not visible main content.
alt?AnswerHide
Textual alternative that depends on the function of the image; decorative use empty alt.
iframe sandbox?AnswerHide
Restricts capabilities of the embedded document and opens with explicit tokens.
GET or POST in form?AnswerHide
GET expresses query and leaves data in URL; POST sends body for an operation.
Submit default?AnswerHide
A button inside a form uses submit if you don't declare type.
defer or async script?AnswerHide
Defer preserves order and expects parsing; async runs when downloading.
Box model?AnswerHide
Content, padding, border and margin.
Specificity?AnswerHide
Weight of a selector within the after origin, importance and layer.
box-sizing:border-box?AnswerHide
The declared width includes padding and border.
Margin or padding?AnswerHide
Margin separates boxes; padding adds space inside the border.
Absolute position?AnswerHide
It leaves the flow and positions itself with respect to its containing block.
Position sticky?AnswerHide
It participates in flow and becomes fixed inside its scroll container when crossing a threshold.
Stacking context?AnswerHide
that limits z-index comparison between descendants.
Pseudo-class or pseudo-element?AnswerHide
Pseudo-class selects state; pseudo-element represents a generated or conceptual part.
BEM?AnswerHide
Block, Element, Modifier convention for class names.
Preprocessor or framework?AnswerHide
Preprocessor extends syntax; framework provides rules, utilities or components.
Media or container query?AnswerHide
Half query viewport/device; container size or style.
Reflow?AnswerHide
Geometry recalculation caused by changes or readings that require .
CLS?AnswerHide
Unexpected movement of content; Reserve space for images and asynchronous content.
Component or directive?AnswerHide
The component has a view; The directive adds behavior to a host.
Pure pipe?AnswerHide
can reuse the result as long as the input references do not change.
@for track?AnswerHide
Associate data identity with nodes to minimize creation and preserve state.
computed or effect?AnswerHide
computed derive state; effect synchronizes with an external API.
Signal or BehaviorSubject?AnswerHide
for UI synchronous state; BehaviorSubject when you need semantics and operators.
switchMap?AnswerHide
Cancels the previous inner when a new issue arrives.
concatMap?AnswerHide
Enqueue inner and preserve order.
exhaustMap?AnswerHide
Ignores new shots while the inner is still active.
mergeMap?AnswerHide
Runs inner in parallel with configurable concurrency.
forkJoin?AnswerHide
Issue once when everyone completes; fails if any fails and is not useful for infinite streams.
Cold observable?AnswerHide
Each creates its own producer.
shareReplay?AnswerHide
Share and reproduce values; needs refCount, error and override policy.
providedIn: root?AnswerHide
tree-shakeable in the root EnvironmentInjector.
providers local?AnswerHide
New instance in the component's ElementInjector and its visible descendants.
viewProviders?AnswerHide
Hides those from the projected content.
InjectionToken?AnswerHide
Typed runtime token for values, functions, or interfaces.
OnPush?AnswerHide
Allows you to skip subtrees until a relevant notification marks the view.
Zoneless?AnswerHide
receives explicit notifications and avoids using to infer changes.
markForCheck?AnswerHide
Mark the view for future verification.
detectChanges?AnswerHide
Run local verification; Frequent use usually indicates faulty flow.
Standalone?AnswerHide
Component that declares dependencies in imports and does not need a declaration in NgModule.
Lazy route?AnswerHide
Load code when navigating to the feature, reducing the initial bundle.
Guard?AnswerHide
Navigation control in client; it does not replace server authorization.
Solve?AnswerHide
Gets data before activating the route.
Reactivate Form?AnswerHide
Explicit model and in , suitable for complex composition and validation.
CVA?AnswerHide
Contract that connects a custom control with Forms.
Async validator?AnswerHide
Validator that completes with errors or null; Control cancellation and frequency.
Interceptor?AnswerHide
Requests and responses middleware for transversal concerns.
Retry?AnswerHide
Only with policy, limit and idempotence security.
XSS?AnswerHide
Untrusted script execution; Avoid dangerous sinks and maintain sanitation and .
CSRF?AnswerHide
Induced authenticated request from another source; It mainly affects automatic credentials such as cookies.
CSP?AnswerHide
Browser policy that limits script fonts, styles, and other resources.
Trusted Types?AnswerHide
Restrict assignments to dangerous sinks to values created by trusted policies.
SSR?AnswerHide
Render by request on server; helps SEO and initial HTML, adds operational cost.
SSG?AnswerHide
HTML generated in build for stable content.
Hydration?AnswerHide
reuses HTML from server and connect client behavior.
@defer?AnswerHide
Split dependencies and load a view based on trigger or condition.
LCP?AnswerHide
Time to render the largest visible element.
INP?AnswerHide
Observed latency of interactions during the session.
CLS?AnswerHide
Sum of unexpected changes.
Tree shaking?AnswerHide
The bundler removes unreachable code when the format and dependencies allow it.
AOT?AnswerHide
Compile templates in build, reduce runtime work and detect errors earlier.
NgRx reducer?AnswerHide
Pure function that calculates new state from state and action.
NgRx effect?AnswerHide
Reacts to events and coordinates I/O or other .
Selector?AnswerHide
Derived and memorized query about the store.
Optimistic update?AnswerHide
Update UI before committing and define rollback or reconciliation.
Facade?AnswerHide
Stable API that reduces the surface area of a subsystem; You can hide too much if you don't protect a boundary.
Adapter?AnswerHide
Translate an external contract to the internal model.
Strategy?AnswerHide
Encapsulates interchangeable policies behind a contract.
SRP?AnswerHide
A unit concentrates responsibilities that change for the same reason.
DIP?AnswerHide
High-level code depends on abstractions, not concrete details.
unknown?AnswerHide
Safe type for value not validated; Forces to shake before use.
never?AnswerHide
It represents impossible states and allows exhaustive checks.
Microtask?AnswerHide
queue that is drained before the next .
Closure?AnswerHide
A function together with its lexical environment: it can keep reading or modifying captured bindings when it runs outside the call that created them.
Immutability?AnswerHide
Create new references instead of mutating shared state; improves predictability and detection.
Object.freeze?AnswerHide
Superficial freezing; it does not protect nested objects without additional work.
Unit test?AnswerHide
Try a unit with controlled boundaries and quick feedback.
Integration test?AnswerHide
Verify collaboration between several units or a real border.
E2E?AnswerHide
Test a user journey through the deployed system or equivalent.
Harness?AnswerHide
Stable API to interact with a component in tests without depending on its internal .
Typical memory leak?AnswerHide
, listener, timer, observer or cache that preserves a destroyed view.
Correlation ID?AnswerHide
Identifier that connects frontend, gateway, and backend events of an operation.
Feature flag?AnswerHide
Temporary exposure control with owner, metrics and retirement plan.
Micro-frontend?AnswerHide
Frontend unit with independent and deployment, in exchange for integration and duplication.
ADR?AnswerHide
Short record of a decision, alternatives and consequences.