Skip to main content

Q201–Q376

Q201 — Define thenables precisely.

  • Level: Advanced
  • Category: thenables
  • Expected answer: Promise resolution assimilates thenables by retrieving/calling a `then` method under defined rules, so arbitrary thenables can trigger code and edge cases.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Only native Promise instances participate in promise chaining.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 32

Q202 — Debug a bug involving thenables.

  • Level: Advanced
  • Category: thenables
  • Expected answer: Apply this rule first: Promise resolution assimilates thenables by retrieving/calling a `then` method under defined rules, so arbitrary thenables can trigger code and edge cases.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Only native Promise instances participate in promise chaining.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 32

Q203 — Name the misconception about thenables.

  • Level: Advanced
  • Category: thenables
  • Expected answer: Correct model: Promise resolution assimilates thenables by retrieving/calling a `then` method under defined rules, so arbitrary thenables can trigger code and edge cases.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Only native Promise instances participate in promise chaining.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 32

Q204 — What production decision follows from thenables?

  • Level: Advanced
  • Category: thenables
  • Expected answer: Use this constraint: Promise resolution assimilates thenables by retrieving/calling a `then` method under defined rules, so arbitrary thenables can trigger code and edge cases.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Only native Promise instances participate in promise chaining.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 32

Q205 — Define Promise combinators precisely.

  • Level: Advanced
  • Category: Promise combinators
  • Expected answer: `all`, `allSettled`, `any`, and `race` encode different completion/failure policies; choose by business semantics rather than habit.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: `Promise.all` runs functions in parallel by itself.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 32

Q206 — Debug a bug involving Promise combinators.

  • Level: Advanced
  • Category: Promise combinators
  • Expected answer: Apply this rule first: `all`, `allSettled`, `any`, and `race` encode different completion/failure policies; choose by business semantics rather than habit.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: `Promise.all` runs functions in parallel by itself.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 32

Q207 — Name the misconception about Promise combinators.

  • Level: Advanced
  • Category: Promise combinators
  • Expected answer: Correct model: `all`, `allSettled`, `any`, and `race` encode different completion/failure policies; choose by business semantics rather than habit.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: `Promise.all` runs functions in parallel by itself.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 32

Q208 — What production decision follows from Promise combinators?

  • Level: Advanced
  • Category: Promise combinators
  • Expected answer: Use this constraint: `all`, `allSettled`, `any`, and `race` encode different completion/failure policies; choose by business semantics rather than habit.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: `Promise.all` runs functions in parallel by itself.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 32

Q209 — Define async function return precisely.

  • Level: Advanced
  • Category: async function return
  • Expected answer: An async function always returns a Promise; returning a value fulfills it and throwing rejects it. `await` is syntax over promise-based suspension/resumption.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: `async` makes a function run on another thread.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 33

Q210 — Debug a bug involving async function return.

  • Level: Advanced
  • Category: async function return
  • Expected answer: Apply this rule first: An async function always returns a Promise; returning a value fulfills it and throwing rejects it. `await` is syntax over promise-based suspension/resumption.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: `async` makes a function run on another thread.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 33

Q211 — Name the misconception about async function return.

  • Level: Advanced
  • Category: async function return
  • Expected answer: Correct model: An async function always returns a Promise; returning a value fulfills it and throwing rejects it. `await` is syntax over promise-based suspension/resumption.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: `async` makes a function run on another thread.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 33

Q212 — What production decision follows from async function return?

  • Level: Advanced
  • Category: async function return
  • Expected answer: Use this constraint: An async function always returns a Promise; returning a value fulfills it and throwing rejects it. `await` is syntax over promise-based suspension/resumption.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: `async` makes a function run on another thread.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 33

Q213 — Define sequential vs concurrent await precisely.

  • Level: Advanced
  • Category: sequential vs concurrent await
  • Expected answer: Starting independent promises before awaiting them can overlap work; awaiting each operation before starting the next creates a waterfall.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Using `await` anywhere automatically makes all operations concurrent.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 33

Q214 — Debug a bug involving sequential vs concurrent await.

  • Level: Advanced
  • Category: sequential vs concurrent await
  • Expected answer: Apply this rule first: Starting independent promises before awaiting them can overlap work; awaiting each operation before starting the next creates a waterfall.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Using `await` anywhere automatically makes all operations concurrent.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 33

Q215 — Name the misconception about sequential vs concurrent await.

  • Level: Advanced
  • Category: sequential vs concurrent await
  • Expected answer: Correct model: Starting independent promises before awaiting them can overlap work; awaiting each operation before starting the next creates a waterfall.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Using `await` anywhere automatically makes all operations concurrent.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 33

Q216 — What production decision follows from sequential vs concurrent await?

  • Level: Advanced
  • Category: sequential vs concurrent await
  • Expected answer: Use this constraint: Starting independent promises before awaiting them can overlap work; awaiting each operation before starting the next creates a waterfall.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Using `await` anywhere automatically makes all operations concurrent.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 33

Q217 — Define ECMAScript Jobs vs browser tasks precisely.

  • Level: Advanced
  • Category: ECMAScript Jobs vs browser tasks
  • Expected answer: Promise reactions are ECMAScript Jobs; browsers integrate them with microtask processing inside a host event loop, while timers, I/O tasks, and rendering are host-defined.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: The ECMAScript specification defines `setTimeout` and the browser rendering loop.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 34

Q218 — Debug a bug involving ECMAScript Jobs vs browser tasks.

  • Level: Advanced
  • Category: ECMAScript Jobs vs browser tasks
  • Expected answer: Apply this rule first: Promise reactions are ECMAScript Jobs; browsers integrate them with microtask processing inside a host event loop, while timers, I/O tasks, and rendering are host-defined.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: The ECMAScript specification defines `setTimeout` and the browser rendering loop.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 34

Q219 — Name the misconception about ECMAScript Jobs vs browser tasks.

  • Level: Advanced
  • Category: ECMAScript Jobs vs browser tasks
  • Expected answer: Correct model: Promise reactions are ECMAScript Jobs; browsers integrate them with microtask processing inside a host event loop, while timers, I/O tasks, and rendering are host-defined.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: The ECMAScript specification defines `setTimeout` and the browser rendering loop.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 34

Q220 — What production decision follows from ECMAScript Jobs vs browser tasks?

  • Level: Advanced
  • Category: ECMAScript Jobs vs browser tasks
  • Expected answer: Use this constraint: Promise reactions are ECMAScript Jobs; browsers integrate them with microtask processing inside a host event loop, while timers, I/O tasks, and rendering are host-defined.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: The ECMAScript specification defines `setTimeout` and the browser rendering loop.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 34

Q221 — Define microtask starvation precisely.

  • Level: Advanced
  • Category: microtask starvation
  • Expected answer: Continuously queueing microtasks can delay browser task processing/rendering because hosts typically drain microtasks at checkpoints before moving on.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Microtasks always yield to rendering after each callback.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 34

Q222 — Debug a bug involving microtask starvation.

  • Level: Advanced
  • Category: microtask starvation
  • Expected answer: Apply this rule first: Continuously queueing microtasks can delay browser task processing/rendering because hosts typically drain microtasks at checkpoints before moving on.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Microtasks always yield to rendering after each callback.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 34

Q223 — Name the misconception about microtask starvation.

  • Level: Advanced
  • Category: microtask starvation
  • Expected answer: Correct model: Continuously queueing microtasks can delay browser task processing/rendering because hosts typically drain microtasks at checkpoints before moving on.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Microtasks always yield to rendering after each callback.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 34

Q224 — What production decision follows from microtask starvation?

  • Level: Advanced
  • Category: microtask starvation
  • Expected answer: Use this constraint: Continuously queueing microtasks can delay browser task processing/rendering because hosts typically drain microtasks at checkpoints before moving on.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Microtasks always yield to rendering after each callback.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 34

Q225 — Define async iteration precisely.

  • Level: Advanced
  • Category: async iteration
  • Expected answer: `Symbol.asyncIterator`/`for await...of` support values arriving asynchronously; consumers should reason about backpressure and cancellation/closing.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: `for await...of` just turns a normal loop into a worker thread.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 35

Q226 — Debug a bug involving async iteration.

  • Level: Senior
  • Category: async iteration
  • Expected answer: Apply this rule first: `Symbol.asyncIterator`/`for await...of` support values arriving asynchronously; consumers should reason about backpressure and cancellation/closing.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: `for await...of` just turns a normal loop into a worker thread.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 35

Q227 — Name the misconception about async iteration.

  • Level: Senior
  • Category: async iteration
  • Expected answer: Correct model: `Symbol.asyncIterator`/`for await...of` support values arriving asynchronously; consumers should reason about backpressure and cancellation/closing.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: `for await...of` just turns a normal loop into a worker thread.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 35

Q228 — What production decision follows from async iteration?

  • Level: Senior
  • Category: async iteration
  • Expected answer: Use this constraint: `Symbol.asyncIterator`/`for await...of` support values arriving asynchronously; consumers should reason about backpressure and cancellation/closing.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: `for await...of` just turns a normal loop into a worker thread.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 35

Q229 — Define ESM live bindings precisely.

  • Level: Senior
  • Category: ESM live bindings
  • Expected answer: Imports observe the exporting module's binding, not a copied snapshot; import bindings themselves are read-only to the importer.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: An import is just a `const` initialized with the exported value.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 36

Q230 — Debug a bug involving ESM live bindings.

  • Level: Senior
  • Category: ESM live bindings
  • Expected answer: Apply this rule first: Imports observe the exporting module's binding, not a copied snapshot; import bindings themselves are read-only to the importer.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: An import is just a `const` initialized with the exported value.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 36

Q231 — Name the misconception about ESM live bindings.

  • Level: Senior
  • Category: ESM live bindings
  • Expected answer: Correct model: Imports observe the exporting module's binding, not a copied snapshot; import bindings themselves are read-only to the importer.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: An import is just a `const` initialized with the exported value.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 36

Q232 — What production decision follows from ESM live bindings?

  • Level: Senior
  • Category: ESM live bindings
  • Expected answer: Use this constraint: Imports observe the exporting module's binding, not a copied snapshot; import bindings themselves are read-only to the importer.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: An import is just a `const` initialized with the exported value.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 36

Q233 — Define module cycles precisely.

  • Level: Senior
  • Category: module cycles
  • Expected answer: ESM separates linking/instantiation from evaluation, so cycles can be valid, but accessing an imported lexical binding before initialization can fail.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Circular imports are always syntax errors.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 36

Q234 — Debug a bug involving module cycles.

  • Level: Senior
  • Category: module cycles
  • Expected answer: Apply this rule first: ESM separates linking/instantiation from evaluation, so cycles can be valid, but accessing an imported lexical binding before initialization can fail.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Circular imports are always syntax errors.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 36

Q235 — Name the misconception about module cycles.

  • Level: Senior
  • Category: module cycles
  • Expected answer: Correct model: ESM separates linking/instantiation from evaluation, so cycles can be valid, but accessing an imported lexical binding before initialization can fail.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Circular imports are always syntax errors.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 36

Q236 — What production decision follows from module cycles?

  • Level: Senior
  • Category: module cycles
  • Expected answer: Use this constraint: ESM separates linking/instantiation from evaluation, so cycles can be valid, but accessing an imported lexical binding before initialization can fail.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Circular imports are always syntax errors.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 36

Q237 — Define explicit resource management precisely.

  • Level: Senior
  • Category: explicit resource management
  • Expected answer: `using`/`await using` and disposal symbols provide deterministic cleanup semantics; as of July 2026 this is Stage 4 post-ES2026 living-standard work, so compatibility must still be checked.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: `using` is part of ES2026 and universally available.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 37

Q238 — Debug a bug involving explicit resource management.

  • Level: Senior
  • Category: explicit resource management
  • Expected answer: Apply this rule first: `using`/`await using` and disposal symbols provide deterministic cleanup semantics; as of July 2026 this is Stage 4 post-ES2026 living-standard work, so compatibility must still be checked.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: `using` is part of ES2026 and universally available.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 37

Q239 — Name the misconception about explicit resource management.

  • Level: Senior
  • Category: explicit resource management
  • Expected answer: Correct model: `using`/`await using` and disposal symbols provide deterministic cleanup semantics; as of July 2026 this is Stage 4 post-ES2026 living-standard work, so compatibility must still be checked.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: `using` is part of ES2026 and universally available.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 37

Q240 — What production decision follows from explicit resource management?

  • Level: Senior
  • Category: explicit resource management
  • Expected answer: Use this constraint: `using`/`await using` and disposal symbols provide deterministic cleanup semantics; as of July 2026 this is Stage 4 post-ES2026 living-standard work, so compatibility must still be checked.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: `using` is part of ES2026 and universally available.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 37

Q241 — Define Proxy invariants precisely.

  • Level: Senior
  • Category: Proxy invariants
  • Expected answer: Proxy traps can intercept operations but cannot violate invariants required by the target's non-configurable/non-extensible state.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: A Proxy trap can return any result regardless of target descriptors.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 38

Q242 — Debug a bug involving Proxy invariants.

  • Level: Senior
  • Category: Proxy invariants
  • Expected answer: Apply this rule first: Proxy traps can intercept operations but cannot violate invariants required by the target's non-configurable/non-extensible state.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: A Proxy trap can return any result regardless of target descriptors.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 38

Q243 — Name the misconception about Proxy invariants.

  • Level: Senior
  • Category: Proxy invariants
  • Expected answer: Correct model: Proxy traps can intercept operations but cannot violate invariants required by the target's non-configurable/non-extensible state.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: A Proxy trap can return any result regardless of target descriptors.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 38

Q244 — What production decision follows from Proxy invariants?

  • Level: Senior
  • Category: Proxy invariants
  • Expected answer: Use this constraint: Proxy traps can intercept operations but cannot violate invariants required by the target's non-configurable/non-extensible state.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: A Proxy trap can return any result regardless of target descriptors.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 38

Q245 — Define Reflect precisely.

  • Level: Senior
  • Category: Reflect
  • Expected answer: Reflect provides function-form counterparts for fundamental operations and pairs naturally with Proxy forwarding, often returning booleans instead of using assignment syntax.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Reflect bypasses normal object semantics and ignores Proxies.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 39

Q246 — Debug a bug involving Reflect.

  • Level: Senior
  • Category: Reflect
  • Expected answer: Apply this rule first: Reflect provides function-form counterparts for fundamental operations and pairs naturally with Proxy forwarding, often returning booleans instead of using assignment syntax.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Reflect bypasses normal object semantics and ignores Proxies.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 39

Q247 — Name the misconception about Reflect.

  • Level: Senior
  • Category: Reflect
  • Expected answer: Correct model: Reflect provides function-form counterparts for fundamental operations and pairs naturally with Proxy forwarding, often returning booleans instead of using assignment syntax.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Reflect bypasses normal object semantics and ignores Proxies.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 39

Q248 — What production decision follows from Reflect?

  • Level: Senior
  • Category: Reflect
  • Expected answer: Use this constraint: Reflect provides function-form counterparts for fundamental operations and pairs naturally with Proxy forwarding, often returning booleans instead of using assignment syntax.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Reflect bypasses normal object semantics and ignores Proxies.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 39

Q249 — Define WeakRef/FinalizationRegistry precisely.

  • Level: Senior
  • Category: WeakRef/FinalizationRegistry
  • Expected answer: Weak references/finalizers are nondeterministic GC-related facilities; correctness and resource cleanup must not depend on when callbacks happen.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: FinalizationRegistry is a deterministic destructor mechanism.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 41

Q250 — Debug a bug involving WeakRef/FinalizationRegistry.

  • Level: Senior
  • Category: WeakRef/FinalizationRegistry
  • Expected answer: Apply this rule first: Weak references/finalizers are nondeterministic GC-related facilities; correctness and resource cleanup must not depend on when callbacks happen.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: FinalizationRegistry is a deterministic destructor mechanism.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 41

Q251 — Name the misconception about WeakRef/FinalizationRegistry.

  • Level: Senior
  • Category: WeakRef/FinalizationRegistry
  • Expected answer: Correct model: Weak references/finalizers are nondeterministic GC-related facilities; correctness and resource cleanup must not depend on when callbacks happen.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: FinalizationRegistry is a deterministic destructor mechanism.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 41

Q252 — What production decision follows from WeakRef/FinalizationRegistry?

  • Level: Senior
  • Category: WeakRef/FinalizationRegistry
  • Expected answer: Use this constraint: Weak references/finalizers are nondeterministic GC-related facilities; correctness and resource cleanup must not depend on when callbacks happen.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: FinalizationRegistry is a deterministic destructor mechanism.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 41

Q253 — Define reachability and leaks precisely.

  • Level: Senior
  • Category: reachability and leaks
  • Expected answer: Objects remain collectible based on reachability, not whether you conceptually 'need' them; listeners, timers, caches, closures, and detached DOM can retain graphs.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: JavaScript memory leaks only happen when the engine GC is broken.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 42

Q254 — Debug a bug involving reachability and leaks.

  • Level: Senior
  • Category: reachability and leaks
  • Expected answer: Apply this rule first: Objects remain collectible based on reachability, not whether you conceptually 'need' them; listeners, timers, caches, closures, and detached DOM can retain graphs.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: JavaScript memory leaks only happen when the engine GC is broken.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 42

Q255 — Name the misconception about reachability and leaks.

  • Level: Senior
  • Category: reachability and leaks
  • Expected answer: Correct model: Objects remain collectible based on reachability, not whether you conceptually 'need' them; listeners, timers, caches, closures, and detached DOM can retain graphs.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: JavaScript memory leaks only happen when the engine GC is broken.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 42

Q256 — What production decision follows from reachability and leaks?

  • Level: Senior
  • Category: reachability and leaks
  • Expected answer: Use this constraint: Objects remain collectible based on reachability, not whether you conceptually 'need' them; listeners, timers, caches, closures, and detached DOM can retain graphs.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: JavaScript memory leaks only happen when the engine GC is broken.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 42

Q257 — Define destructuring evaluation precisely.

  • Level: Senior
  • Category: destructuring evaluation
  • Expected answer: Destructuring is binding/assignment syntax with defaults, nesting, rest, and iterator/property-access semantics; defaults run only for `undefined`.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Destructuring deep-clones the source.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 43

Q258 — Debug a bug involving destructuring evaluation.

  • Level: Senior
  • Category: destructuring evaluation
  • Expected answer: Apply this rule first: Destructuring is binding/assignment syntax with defaults, nesting, rest, and iterator/property-access semantics; defaults run only for `undefined`.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Destructuring deep-clones the source.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 43

Q259 — Name the misconception about destructuring evaluation.

  • Level: Senior
  • Category: destructuring evaluation
  • Expected answer: Correct model: Destructuring is binding/assignment syntax with defaults, nesting, rest, and iterator/property-access semantics; defaults run only for `undefined`.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Destructuring deep-clones the source.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 43

Q260 — What production decision follows from destructuring evaluation?

  • Level: Senior
  • Category: destructuring evaluation
  • Expected answer: Use this constraint: Destructuring is binding/assignment syntax with defaults, nesting, rest, and iterator/property-access semantics; defaults run only for `undefined`.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Destructuring deep-clones the source.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 43

Q261 — Define object spread precisely.

  • Level: Senior
  • Category: object spread
  • Expected answer: Object spread copies enumerable own properties into a new object using defined property-copy semantics; it is shallow and differs from prototype/descriptor cloning.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: `{...obj}` creates an exact clone including prototype and descriptors.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 44

Q262 — Debug a bug involving object spread.

  • Level: Senior
  • Category: object spread
  • Expected answer: Apply this rule first: Object spread copies enumerable own properties into a new object using defined property-copy semantics; it is shallow and differs from prototype/descriptor cloning.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: `{...obj}` creates an exact clone including prototype and descriptors.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 44

Q263 — Name the misconception about object spread.

  • Level: Senior
  • Category: object spread
  • Expected answer: Correct model: Object spread copies enumerable own properties into a new object using defined property-copy semantics; it is shallow and differs from prototype/descriptor cloning.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: `{...obj}` creates an exact clone including prototype and descriptors.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 44

Q264 — What production decision follows from object spread?

  • Level: Senior
  • Category: object spread
  • Expected answer: Use this constraint: Object spread copies enumerable own properties into a new object using defined property-copy semantics; it is shallow and differs from prototype/descriptor cloning.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: `{...obj}` creates an exact clone including prototype and descriptors.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 44

Q265 — Define nullish coalescing precisely.

  • Level: Senior
  • Category: nullish coalescing
  • Expected answer: `??` falls back only for `null`/`undefined`, unlike `||` which falls back for any falsy value.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: `??` and `||` differ only in syntax preference.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 45

Q266 — Debug a bug involving nullish coalescing.

  • Level: Senior
  • Category: nullish coalescing
  • Expected answer: Apply this rule first: `??` falls back only for `null`/`undefined`, unlike `||` which falls back for any falsy value.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: `??` and `||` differ only in syntax preference.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 45

Q267 — Name the misconception about nullish coalescing.

  • Level: Senior
  • Category: nullish coalescing
  • Expected answer: Correct model: `??` falls back only for `null`/`undefined`, unlike `||` which falls back for any falsy value.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: `??` and `||` differ only in syntax preference.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 45

Q268 — What production decision follows from nullish coalescing?

  • Level: Senior
  • Category: nullish coalescing
  • Expected answer: Use this constraint: `??` falls back only for `null`/`undefined`, unlike `||` which falls back for any falsy value.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: `??` and `||` differ only in syntax preference.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 45

Q269 — Define JSON vs JavaScript precisely.

  • Level: Senior
  • Category: JSON vs JavaScript
  • Expected answer: JSON is a data syntax with a narrower value model than JavaScript; stringify/parse have replacer/reviver hooks and defined omissions/errors such as BigInt handling.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Any JavaScript expression is valid JSON.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 46

Q270 — Debug a bug involving JSON vs JavaScript.

  • Level: Senior
  • Category: JSON vs JavaScript
  • Expected answer: Apply this rule first: JSON is a data syntax with a narrower value model than JavaScript; stringify/parse have replacer/reviver hooks and defined omissions/errors such as BigInt handling.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Any JavaScript expression is valid JSON.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 46

Q271 — Name the misconception about JSON vs JavaScript.

  • Level: Senior
  • Category: JSON vs JavaScript
  • Expected answer: Correct model: JSON is a data syntax with a narrower value model than JavaScript; stringify/parse have replacer/reviver hooks and defined omissions/errors such as BigInt handling.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Any JavaScript expression is valid JSON.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 46

Q272 — What production decision follows from JSON vs JavaScript?

  • Level: Senior
  • Category: JSON vs JavaScript
  • Expected answer: Use this constraint: JSON is a data syntax with a narrower value model than JavaScript; stringify/parse have replacer/reviver hooks and defined omissions/errors such as BigInt handling.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Any JavaScript expression is valid JSON.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 46

Q273 — Define Intl precisely.

  • Level: Senior
  • Category: Intl
  • Expected answer: ECMA-402 defines internationalization APIs separately from core ECMA-262; locale negotiation, calendars, numbering systems, time zones, collation, segmentation and formatting belong here.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Intl behavior is part of the ECMA-262 core language algorithms.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 47

Q274 — Debug a bug involving Intl.

  • Level: Senior
  • Category: Intl
  • Expected answer: Apply this rule first: ECMA-402 defines internationalization APIs separately from core ECMA-262; locale negotiation, calendars, numbering systems, time zones, collation, segmentation and formatting belong here.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Intl behavior is part of the ECMA-262 core language algorithms.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 47

Q275 — Name the misconception about Intl.

  • Level: Senior
  • Category: Intl
  • Expected answer: Correct model: ECMA-402 defines internationalization APIs separately from core ECMA-262; locale negotiation, calendars, numbering systems, time zones, collation, segmentation and formatting belong here.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Intl behavior is part of the ECMA-262 core language algorithms.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 47

Q276 — What production decision follows from Intl?

  • Level: Senior
  • Category: Intl
  • Expected answer: Use this constraint: ECMA-402 defines internationalization APIs separately from core ECMA-262; locale negotiation, calendars, numbering systems, time zones, collation, segmentation and formatting belong here.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Intl behavior is part of the ECMA-262 core language algorithms.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 47

Q277 — Define event delegation precisely.

  • Level: Senior
  • Category: event delegation
  • Expected answer: Browser event bubbling lets a stable ancestor handle events for dynamic descendants; `target` and `currentTarget` answer different questions.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Event delegation means every descendant has its own listener behind the scenes.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 54

Q278 — Debug a bug involving event delegation.

  • Level: Senior
  • Category: event delegation
  • Expected answer: Apply this rule first: Browser event bubbling lets a stable ancestor handle events for dynamic descendants; `target` and `currentTarget` answer different questions.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Event delegation means every descendant has its own listener behind the scenes.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 54

Q279 — Name the misconception about event delegation.

  • Level: Senior
  • Category: event delegation
  • Expected answer: Correct model: Browser event bubbling lets a stable ancestor handle events for dynamic descendants; `target` and `currentTarget` answer different questions.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Event delegation means every descendant has its own listener behind the scenes.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 54

Q280 — What production decision follows from event delegation?

  • Level: Senior
  • Category: event delegation
  • Expected answer: Use this constraint: Browser event bubbling lets a stable ancestor handle events for dynamic descendants; `target` and `currentTarget` answer different questions.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Event delegation means every descendant has its own listener behind the scenes.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 54

Q281 — Define fetch failure model precisely.

  • Level: Senior
  • Category: fetch failure model
  • Expected answer: Browser `fetch` rejects for network/abort-style failures, not simply because HTTP status is 4xx/5xx; callers must inspect response status/ok.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: A 404 causes `fetch()` to reject automatically.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 56

Q282 — Debug a bug involving fetch failure model.

  • Level: Senior
  • Category: fetch failure model
  • Expected answer: Apply this rule first: Browser `fetch` rejects for network/abort-style failures, not simply because HTTP status is 4xx/5xx; callers must inspect response status/ok.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: A 404 causes `fetch()` to reject automatically.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 56

Q283 — Name the misconception about fetch failure model.

  • Level: Senior
  • Category: fetch failure model
  • Expected answer: Correct model: Browser `fetch` rejects for network/abort-style failures, not simply because HTTP status is 4xx/5xx; callers must inspect response status/ok.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: A 404 causes `fetch()` to reject automatically.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 56

Q284 — What production decision follows from fetch failure model?

  • Level: Senior
  • Category: fetch failure model
  • Expected answer: Use this constraint: Browser `fetch` rejects for network/abort-style failures, not simply because HTTP status is 4xx/5xx; callers must inspect response status/ok.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: A 404 causes `fetch()` to reject automatically.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 56

Q285 — Define CORS boundary precisely.

  • Level: Senior
  • Category: CORS boundary
  • Expected answer: CORS is a browser policy controlling cross-origin response access; it is not server-side authentication or authorization.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Enabling CORS makes an API public and bypasses authentication.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 56

Q286 — Debug a bug involving CORS boundary.

  • Level: Senior
  • Category: CORS boundary
  • Expected answer: Apply this rule first: CORS is a browser policy controlling cross-origin response access; it is not server-side authentication or authorization.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Enabling CORS makes an API public and bypasses authentication.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 56

Q287 — Name the misconception about CORS boundary.

  • Level: Senior
  • Category: CORS boundary
  • Expected answer: Correct model: CORS is a browser policy controlling cross-origin response access; it is not server-side authentication or authorization.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Enabling CORS makes an API public and bypasses authentication.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 56

Q288 — What production decision follows from CORS boundary?

  • Level: Senior
  • Category: CORS boundary
  • Expected answer: Use this constraint: CORS is a browser policy controlling cross-origin response access; it is not server-side authentication or authorization.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Enabling CORS makes an API public and bypasses authentication.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 56

Q289 — Define browser storage precisely.

  • Level: Senior
  • Category: browser storage
  • Expected answer: localStorage/sessionStorage/IndexedDB are host storage mechanisms with different sync/async, quota, serialization, and security properties; secrets should not be assumed safe simply because stored client-side.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: localStorage is a secure place for long-lived secrets because other websites cannot read it.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 58

Q290 — Debug a bug involving browser storage.

  • Level: Senior
  • Category: browser storage
  • Expected answer: Apply this rule first: localStorage/sessionStorage/IndexedDB are host storage mechanisms with different sync/async, quota, serialization, and security properties; secrets should not be assumed safe simply because stored client-side.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: localStorage is a secure place for long-lived secrets because other websites cannot read it.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 58

Q291 — Name the misconception about browser storage.

  • Level: Senior
  • Category: browser storage
  • Expected answer: Correct model: localStorage/sessionStorage/IndexedDB are host storage mechanisms with different sync/async, quota, serialization, and security properties; secrets should not be assumed safe simply because stored client-side.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: localStorage is a secure place for long-lived secrets because other websites cannot read it.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 58

Q292 — What production decision follows from browser storage?

  • Level: Senior
  • Category: browser storage
  • Expected answer: Use this constraint: localStorage/sessionStorage/IndexedDB are host storage mechanisms with different sync/async, quota, serialization, and security properties; secrets should not be assumed safe simply because stored client-side.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: localStorage is a secure place for long-lived secrets because other websites cannot read it.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 58

Q293 — Define Web Workers precisely.

  • Level: Senior
  • Category: Web Workers
  • Expected answer: Workers provide separate execution agents for browser JavaScript and communicate by messaging/structured clone or shared memory; they help CPU-bound main-thread work but have overhead.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: A Web Worker shares the same DOM and can update elements directly.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 60

Q294 — Debug a bug involving Web Workers.

  • Level: Senior
  • Category: Web Workers
  • Expected answer: Apply this rule first: Workers provide separate execution agents for browser JavaScript and communicate by messaging/structured clone or shared memory; they help CPU-bound main-thread work but have overhead.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: A Web Worker shares the same DOM and can update elements directly.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 60

Q295 — Name the misconception about Web Workers.

  • Level: Senior
  • Category: Web Workers
  • Expected answer: Correct model: Workers provide separate execution agents for browser JavaScript and communicate by messaging/structured clone or shared memory; they help CPU-bound main-thread work but have overhead.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: A Web Worker shares the same DOM and can update elements directly.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 60

Q296 — What production decision follows from Web Workers?

  • Level: Senior
  • Category: Web Workers
  • Expected answer: Use this constraint: Workers provide separate execution agents for browser JavaScript and communicate by messaging/structured clone or shared memory; they help CPU-bound main-thread work but have overhead.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: A Web Worker shares the same DOM and can update elements directly.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 60

Q297 — Define XSS sinks precisely.

  • Level: Senior
  • Category: XSS sinks
  • Expected answer: XSS risk arises when attacker-controlled data reaches executable HTML/script/navigation contexts without appropriate handling; prefer safe DOM APIs and strong policy controls.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Escaping once with a generic function makes data safe for every browser context.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 62

Q298 — Debug a bug involving XSS sinks.

  • Level: Senior
  • Category: XSS sinks
  • Expected answer: Apply this rule first: XSS risk arises when attacker-controlled data reaches executable HTML/script/navigation contexts without appropriate handling; prefer safe DOM APIs and strong policy controls.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Escaping once with a generic function makes data safe for every browser context.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 62

Q299 — Name the misconception about XSS sinks.

  • Level: Senior
  • Category: XSS sinks
  • Expected answer: Correct model: XSS risk arises when attacker-controlled data reaches executable HTML/script/navigation contexts without appropriate handling; prefer safe DOM APIs and strong policy controls.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Escaping once with a generic function makes data safe for every browser context.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 62

Q300 — What production decision follows from XSS sinks?

  • Level: Senior
  • Category: XSS sinks
  • Expected answer: Use this constraint: XSS risk arises when attacker-controlled data reaches executable HTML/script/navigation contexts without appropriate handling; prefer safe DOM APIs and strong policy controls.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Escaping once with a generic function makes data safe for every browser context.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 62

Q301 — Define execution contexts/environments precisely.

  • Level: Staff / architecture
  • Category: execution contexts/environments
  • Expected answer: ECMA-262 uses execution contexts and environment records to model running code and bindings; these concepts explain scope, globals, functions, modules and `this` without prescribing engine memory layout.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Lexical environments are V8 heap objects mandated by the specification.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 63

Q302 — Debug a bug involving execution contexts/environments.

  • Level: Staff / architecture
  • Category: execution contexts/environments
  • Expected answer: Apply this rule first: ECMA-262 uses execution contexts and environment records to model running code and bindings; these concepts explain scope, globals, functions, modules and `this` without prescribing engine memory layout.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Lexical environments are V8 heap objects mandated by the specification.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 63

Q303 — Name the misconception about execution contexts/environments.

  • Level: Staff / architecture
  • Category: execution contexts/environments
  • Expected answer: Correct model: ECMA-262 uses execution contexts and environment records to model running code and bindings; these concepts explain scope, globals, functions, modules and `this` without prescribing engine memory layout.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Lexical environments are V8 heap objects mandated by the specification.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 63

Q304 — What production decision follows from execution contexts/environments?

  • Level: Staff / architecture
  • Category: execution contexts/environments
  • Expected answer: Use this constraint: ECMA-262 uses execution contexts and environment records to model running code and bindings; these concepts explain scope, globals, functions, modules and `this` without prescribing engine memory layout.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Lexical environments are V8 heap objects mandated by the specification.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 63

Q305 — Define Reference Records and method calls precisely.

  • Level: Staff / architecture
  • Category: Reference Records and method calls
  • Expected answer: Identifier/property evaluation can produce reference-like specification records that carry base/receiver information; method-call syntax preserves a receiver while extracting the function loses it.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: `this` is stored permanently inside every normal function object.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 65

Q306 — Debug a bug involving Reference Records and method calls.

  • Level: Staff / architecture
  • Category: Reference Records and method calls
  • Expected answer: Apply this rule first: Identifier/property evaluation can produce reference-like specification records that carry base/receiver information; method-call syntax preserves a receiver while extracting the function loses it.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: `this` is stored permanently inside every normal function object.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 65

Q307 — Name the misconception about Reference Records and method calls.

  • Level: Staff / architecture
  • Category: Reference Records and method calls
  • Expected answer: Correct model: Identifier/property evaluation can produce reference-like specification records that carry base/receiver information; method-call syntax preserves a receiver while extracting the function loses it.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: `this` is stored permanently inside every normal function object.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 65

Q308 — What production decision follows from Reference Records and method calls?

  • Level: Staff / architecture
  • Category: Reference Records and method calls
  • Expected answer: Use this constraint: Identifier/property evaluation can produce reference-like specification records that carry base/receiver information; method-call syntax preserves a receiver while extracting the function loses it.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: `this` is stored permanently inside every normal function object.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 65

Q309 — Define abstract operations precisely.

  • Level: Staff / architecture
  • Category: abstract operations
  • Expected answer: Operations like ToPrimitive, Get, Set, Call, Construct and ToString are specification building blocks used by many language features; learn to trace them, not memorize every step.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Abstract operations are JavaScript functions available at runtime.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 66

Q310 — Debug a bug involving abstract operations.

  • Level: Staff / architecture
  • Category: abstract operations
  • Expected answer: Apply this rule first: Operations like ToPrimitive, Get, Set, Call, Construct and ToString are specification building blocks used by many language features; learn to trace them, not memorize every step.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Abstract operations are JavaScript functions available at runtime.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 66

Q311 — Name the misconception about abstract operations.

  • Level: Staff / architecture
  • Category: abstract operations
  • Expected answer: Correct model: Operations like ToPrimitive, Get, Set, Call, Construct and ToString are specification building blocks used by many language features; learn to trace them, not memorize every step.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Abstract operations are JavaScript functions available at runtime.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 66

Q312 — What production decision follows from abstract operations?

  • Level: Staff / architecture
  • Category: abstract operations
  • Expected answer: Use this constraint: Operations like ToPrimitive, Get, Set, Call, Construct and ToString are specification building blocks used by many language features; learn to trace them, not memorize every step.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Abstract operations are JavaScript functions available at runtime.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 66

Q313 — Define Realms precisely.

  • Level: Staff / architecture
  • Category: Realms
  • Expected answer: A Realm has its own global object/intrinsics, so values from iframes/other realms can fail `instanceof` checks against constructors from the current realm.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: There is only one `Array` constructor identity in an entire browser process.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 67

Q314 — Debug a bug involving Realms.

  • Level: Staff / architecture
  • Category: Realms
  • Expected answer: Apply this rule first: A Realm has its own global object/intrinsics, so values from iframes/other realms can fail `instanceof` checks against constructors from the current realm.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: There is only one `Array` constructor identity in an entire browser process.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 67

Q315 — Name the misconception about Realms.

  • Level: Staff / architecture
  • Category: Realms
  • Expected answer: Correct model: A Realm has its own global object/intrinsics, so values from iframes/other realms can fail `instanceof` checks against constructors from the current realm.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: There is only one `Array` constructor identity in an entire browser process.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 67

Q316 — What production decision follows from Realms?

  • Level: Staff / architecture
  • Category: Realms
  • Expected answer: Use this constraint: A Realm has its own global object/intrinsics, so values from iframes/other realms can fail `instanceof` checks against constructors from the current realm.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: There is only one `Array` constructor identity in an entire browser process.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 67

Q317 — Define early errors precisely.

  • Level: Staff / architecture
  • Category: early errors
  • Expected answer: Some invalid programs are rejected during parsing/static semantic checks before execution, distinct from runtime exceptions.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Every JavaScript error can be caught with a surrounding runtime try/catch.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 69

Q318 — Debug a bug involving early errors.

  • Level: Staff / architecture
  • Category: early errors
  • Expected answer: Apply this rule first: Some invalid programs are rejected during parsing/static semantic checks before execution, distinct from runtime exceptions.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Every JavaScript error can be caught with a surrounding runtime try/catch.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 69

Q319 — Name the misconception about early errors.

  • Level: Staff / architecture
  • Category: early errors
  • Expected answer: Correct model: Some invalid programs are rejected during parsing/static semantic checks before execution, distinct from runtime exceptions.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Every JavaScript error can be caught with a surrounding runtime try/catch.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 69

Q320 — What production decision follows from early errors?

  • Level: Staff / architecture
  • Category: early errors
  • Expected answer: Use this constraint: Some invalid programs are rejected during parsing/static semantic checks before execution, distinct from runtime exceptions.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Every JavaScript error can be caught with a surrounding runtime try/catch.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 69

Q321 — Define JIT mental model precisely.

  • Level: Staff / architecture
  • Category: JIT mental model
  • Expected answer: Engines may interpret, profile, optimize, deoptimize, use inline caches/shapes, and GC, but these are implementation strategies rather than ECMAScript guarantees.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: JavaScript semantics require V8 hidden classes and a particular optimization tier.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 71

Q322 — Debug a bug involving JIT mental model.

  • Level: Staff / architecture
  • Category: JIT mental model
  • Expected answer: Apply this rule first: Engines may interpret, profile, optimize, deoptimize, use inline caches/shapes, and GC, but these are implementation strategies rather than ECMAScript guarantees.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: JavaScript semantics require V8 hidden classes and a particular optimization tier.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 71

Q323 — Name the misconception about JIT mental model.

  • Level: Staff / architecture
  • Category: JIT mental model
  • Expected answer: Correct model: Engines may interpret, profile, optimize, deoptimize, use inline caches/shapes, and GC, but these are implementation strategies rather than ECMAScript guarantees.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: JavaScript semantics require V8 hidden classes and a particular optimization tier.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 71

Q324 — What production decision follows from JIT mental model?

  • Level: Staff / architecture
  • Category: JIT mental model
  • Expected answer: Use this constraint: Engines may interpret, profile, optimize, deoptimize, use inline caches/shapes, and GC, but these are implementation strategies rather than ECMAScript guarantees.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: JavaScript semantics require V8 hidden classes and a particular optimization tier.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 71

Q325 — Define measurement-first performance precisely.

  • Level: Staff / architecture
  • Category: measurement-first performance
  • Expected answer: Performance work should identify whether the bottleneck is algorithmic, CPU, allocation/GC, DOM/rendering, network, I/O, or concurrency before optimizing.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Micro-optimizing syntax is the first step in performance engineering.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 72

Q326 — Debug a bug involving measurement-first performance.

  • Level: Staff / architecture
  • Category: measurement-first performance
  • Expected answer: Apply this rule first: Performance work should identify whether the bottleneck is algorithmic, CPU, allocation/GC, DOM/rendering, network, I/O, or concurrency before optimizing.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Micro-optimizing syntax is the first step in performance engineering.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 72

Q327 — Name the misconception about measurement-first performance.

  • Level: Staff / architecture
  • Category: measurement-first performance
  • Expected answer: Correct model: Performance work should identify whether the bottleneck is algorithmic, CPU, allocation/GC, DOM/rendering, network, I/O, or concurrency before optimizing.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Micro-optimizing syntax is the first step in performance engineering.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 72

Q328 — What production decision follows from measurement-first performance?

  • Level: Staff / architecture
  • Category: measurement-first performance
  • Expected answer: Use this constraint: Performance work should identify whether the bottleneck is algorithmic, CPU, allocation/GC, DOM/rendering, network, I/O, or concurrency before optimizing.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Micro-optimizing syntax is the first step in performance engineering.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 72

Q329 — Define source maps precisely.

  • Level: Staff / architecture
  • Category: source maps
  • Expected answer: Source maps map generated locations back to original source for debugging; they do not change runtime semantics and production exposure needs policy.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Source maps make generated JavaScript execute as the original source.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 74

Q330 — Debug a bug involving source maps.

  • Level: Staff / architecture
  • Category: source maps
  • Expected answer: Apply this rule first: Source maps map generated locations back to original source for debugging; they do not change runtime semantics and production exposure needs policy.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Source maps make generated JavaScript execute as the original source.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 74

Q331 — Name the misconception about source maps.

  • Level: Staff / architecture
  • Category: source maps
  • Expected answer: Correct model: Source maps map generated locations back to original source for debugging; they do not change runtime semantics and production exposure needs policy.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Source maps make generated JavaScript execute as the original source.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 74

Q332 — What production decision follows from source maps?

  • Level: Staff / architecture
  • Category: source maps
  • Expected answer: Use this constraint: Source maps map generated locations back to original source for debugging; they do not change runtime semantics and production exposure needs policy.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Source maps make generated JavaScript execute as the original source.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 74

Q333 — Define feature detection precisely.

  • Level: Staff / architecture
  • Category: feature detection
  • Expected answer: Standardization and implementation support are separate; use target policy/compat data and feature detection where appropriate rather than browser sniffing.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: If a feature is in ECMA-262 it is safe to use everywhere without checks.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 83

Q334 — Debug a bug involving feature detection.

  • Level: Staff / architecture
  • Category: feature detection
  • Expected answer: Apply this rule first: Standardization and implementation support are separate; use target policy/compat data and feature detection where appropriate rather than browser sniffing.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: If a feature is in ECMA-262 it is safe to use everywhere without checks.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 83

Q335 — Name the misconception about feature detection.

  • Level: Staff / architecture
  • Category: feature detection
  • Expected answer: Correct model: Standardization and implementation support are separate; use target policy/compat data and feature detection where appropriate rather than browser sniffing.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: If a feature is in ECMA-262 it is safe to use everywhere without checks.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 83

Q336 — What production decision follows from feature detection?

  • Level: Staff / architecture
  • Category: feature detection
  • Expected answer: Use this constraint: Standardization and implementation support are separate; use target policy/compat data and feature detection where appropriate rather than browser sniffing.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: If a feature is in ECMA-262 it is safe to use everywhere without checks.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 83

Q337 — Define async race conditions precisely.

  • Level: Staff / architecture
  • Category: async race conditions
  • Expected answer: Single-threaded callback execution does not prevent logical races: operations can interleave across awaits/tasks and stale results can overwrite newer state.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Race conditions require two CPU threads executing JavaScript simultaneously.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 85

Q338 — Debug a bug involving async race conditions.

  • Level: Staff / architecture
  • Category: async race conditions
  • Expected answer: Apply this rule first: Single-threaded callback execution does not prevent logical races: operations can interleave across awaits/tasks and stale results can overwrite newer state.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Race conditions require two CPU threads executing JavaScript simultaneously.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 85

Q339 — Name the misconception about async race conditions.

  • Level: Staff / architecture
  • Category: async race conditions
  • Expected answer: Correct model: Single-threaded callback execution does not prevent logical races: operations can interleave across awaits/tasks and stale results can overwrite newer state.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Race conditions require two CPU threads executing JavaScript simultaneously.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 85

Q340 — What production decision follows from async race conditions?

  • Level: Staff / architecture
  • Category: async race conditions
  • Expected answer: Use this constraint: Single-threaded callback execution does not prevent logical races: operations can interleave across awaits/tasks and stale results can overwrite newer state.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Race conditions require two CPU threads executing JavaScript simultaneously.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 85

Q341 — Define error architecture precisely.

  • Level: Staff / architecture
  • Category: error architecture
  • Expected answer: Application errors need contracts for expected/unexpected failures, cause/wrapping, retryability, cancellation, user messaging, logging and module boundaries.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: The best architecture catches every error at the lowest layer and returns null.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 86

Q342 — Debug a bug involving error architecture.

  • Level: Staff / architecture
  • Category: error architecture
  • Expected answer: Apply this rule first: Application errors need contracts for expected/unexpected failures, cause/wrapping, retryability, cancellation, user messaging, logging and module boundaries.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: The best architecture catches every error at the lowest layer and returns null.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 86

Q343 — Name the misconception about error architecture.

  • Level: Staff / architecture
  • Category: error architecture
  • Expected answer: Correct model: Application errors need contracts for expected/unexpected failures, cause/wrapping, retryability, cancellation, user messaging, logging and module boundaries.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: The best architecture catches every error at the lowest layer and returns null.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 86

Q344 — What production decision follows from error architecture?

  • Level: Staff / architecture
  • Category: error architecture
  • Expected answer: Use this constraint: Application errors need contracts for expected/unexpected failures, cause/wrapping, retryability, cancellation, user messaging, logging and module boundaries.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: The best architecture catches every error at the lowest layer and returns null.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 86

Q345 — Define library public API precisely.

  • Level: Staff / architecture
  • Category: library public API
  • Expected answer: Stable libraries minimize accidental surface area, define errors/cancellation/side effects, document compatibility, and evolve with semver/deprecation strategy.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: A library's internal folder structure is automatically part of its supported API.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 88

Q346 — Debug a bug involving library public API.

  • Level: Staff / architecture
  • Category: library public API
  • Expected answer: Apply this rule first: Stable libraries minimize accidental surface area, define errors/cancellation/side effects, document compatibility, and evolve with semver/deprecation strategy.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: A library's internal folder structure is automatically part of its supported API.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 88

Q347 — Name the misconception about library public API.

  • Level: Staff / architecture
  • Category: library public API
  • Expected answer: Correct model: Stable libraries minimize accidental surface area, define errors/cancellation/side effects, document compatibility, and evolve with semver/deprecation strategy.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: A library's internal folder structure is automatically part of its supported API.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 88

Q348 — What production decision follows from library public API?

  • Level: Staff / architecture
  • Category: library public API
  • Expected answer: Use this constraint: Stable libraries minimize accidental surface area, define errors/cancellation/side effects, document compatibility, and evolve with semver/deprecation strategy.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: A library's internal folder structure is automatically part of its supported API.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 88

Q349 — Define framework reactivity/scheduling precisely.

  • Level: Staff / architecture
  • Category: framework reactivity/scheduling
  • Expected answer: Framework-like systems separate dependency tracking, invalidation, scheduling/batching, rendering/effects and cleanup; Proxy is one tool, not the architecture itself.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Using Proxy automatically provides a complete reactive framework.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 89

Q350 — Debug a bug involving framework reactivity/scheduling.

  • Level: Staff / architecture
  • Category: framework reactivity/scheduling
  • Expected answer: Apply this rule first: Framework-like systems separate dependency tracking, invalidation, scheduling/batching, rendering/effects and cleanup; Proxy is one tool, not the architecture itself.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Using Proxy automatically provides a complete reactive framework.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 89

Q351 — Name the misconception about framework reactivity/scheduling.

  • Level: Staff / architecture
  • Category: framework reactivity/scheduling
  • Expected answer: Correct model: Framework-like systems separate dependency tracking, invalidation, scheduling/batching, rendering/effects and cleanup; Proxy is one tool, not the architecture itself.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Using Proxy automatically provides a complete reactive framework.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 89

Q352 — What production decision follows from framework reactivity/scheduling?

  • Level: Staff / architecture
  • Category: framework reactivity/scheduling
  • Expected answer: Use this constraint: Framework-like systems separate dependency tracking, invalidation, scheduling/batching, rendering/effects and cleanup; Proxy is one tool, not the architecture itself.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Using Proxy automatically provides a complete reactive framework.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 89

Q353 — Define compatibility governance precisely.

  • Level: Staff / architecture
  • Category: compatibility governance
  • Expected answer: Staff-level JavaScript policy defines runtime/browser targets, dependency governance, security rules, performance budgets, migration strategy and shared-library ownership.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Staff JavaScript architecture is mainly choosing a favorite framework.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 91

Q354 — Debug a bug involving compatibility governance.

  • Level: Staff / architecture
  • Category: compatibility governance
  • Expected answer: Apply this rule first: Staff-level JavaScript policy defines runtime/browser targets, dependency governance, security rules, performance budgets, migration strategy and shared-library ownership.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Staff JavaScript architecture is mainly choosing a favorite framework.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 91

Q355 — Name the misconception about compatibility governance.

  • Level: Staff / architecture
  • Category: compatibility governance
  • Expected answer: Correct model: Staff-level JavaScript policy defines runtime/browser targets, dependency governance, security rules, performance budgets, migration strategy and shared-library ownership.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Staff JavaScript architecture is mainly choosing a favorite framework.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 91

Q356 — What production decision follows from compatibility governance?

  • Level: Staff / architecture
  • Category: compatibility governance
  • Expected answer: Use this constraint: Staff-level JavaScript policy defines runtime/browser targets, dependency governance, security rules, performance budgets, migration strategy and shared-library ownership.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Staff JavaScript architecture is mainly choosing a favorite framework.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 91

Q357 — Define ES2026 baseline precisely.

  • Level: Staff / architecture
  • Category: ES2026 baseline
  • Expected answer: ECMAScript 2026 is ECMA-262 17th edition; its additions include Math.sumPrecise, Iterator.concat, Array.fromAsync, Error.isError, Map/WeakMap insertion helpers, Uint8Array base64/hex APIs, and JSON source/raw JSON capabilities.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Temporal, decorators and explicit resource management are all ES2026 features.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 93

Q358 — Debug a bug involving ES2026 baseline.

  • Level: Staff / architecture
  • Category: ES2026 baseline
  • Expected answer: Apply this rule first: ECMAScript 2026 is ECMA-262 17th edition; its additions include Math.sumPrecise, Iterator.concat, Array.fromAsync, Error.isError, Map/WeakMap insertion helpers, Uint8Array base64/hex APIs, and JSON source/raw JSON capabilities.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Temporal, decorators and explicit resource management are all ES2026 features.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 93

Q359 — Name the misconception about ES2026 baseline.

  • Level: Staff / architecture
  • Category: ES2026 baseline
  • Expected answer: Correct model: ECMAScript 2026 is ECMA-262 17th edition; its additions include Math.sumPrecise, Iterator.concat, Array.fromAsync, Error.isError, Map/WeakMap insertion helpers, Uint8Array base64/hex APIs, and JSON source/raw JSON capabilities.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Temporal, decorators and explicit resource management are all ES2026 features.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 93

Q360 — What production decision follows from ES2026 baseline?

  • Level: Staff / architecture
  • Category: ES2026 baseline
  • Expected answer: Use this constraint: ECMAScript 2026 is ECMA-262 17th edition; its additions include Math.sumPrecise, Iterator.concat, Array.fromAsync, Error.isError, Map/WeakMap insertion helpers, Uint8Array base64/hex APIs, and JSON source/raw JSON capabilities.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Temporal, decorators and explicit resource management are all ES2026 features.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 93

Q361 — Define TC39 stages precisely.

  • Level: Staff / architecture
  • Category: TC39 stages
  • Expected answer: TC39 stages describe proposal maturity; Stage 4 is finished and can enter the living standard, while Stage 3 and below must not be presented as stable standard JavaScript.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Stage 3 means the feature is standardized and production-stable.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 94

Q362 — Debug a bug involving TC39 stages.

  • Level: Staff / architecture
  • Category: TC39 stages
  • Expected answer: Apply this rule first: TC39 stages describe proposal maturity; Stage 4 is finished and can enter the living standard, while Stage 3 and below must not be presented as stable standard JavaScript.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Stage 3 means the feature is standardized and production-stable.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 94

Q363 — Name the misconception about TC39 stages.

  • Level: Staff / architecture
  • Category: TC39 stages
  • Expected answer: Correct model: TC39 stages describe proposal maturity; Stage 4 is finished and can enter the living standard, while Stage 3 and below must not be presented as stable standard JavaScript.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Stage 3 means the feature is standardized and production-stable.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 94

Q364 — What production decision follows from TC39 stages?

  • Level: Staff / architecture
  • Category: TC39 stages
  • Expected answer: Use this constraint: TC39 stages describe proposal maturity; Stage 4 is finished and can enter the living standard, while Stage 3 and below must not be presented as stable standard JavaScript.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Stage 3 means the feature is standardized and production-stable.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 94

Q365 — Define Annex B precisely.

  • Level: Staff / architecture
  • Category: Annex B
  • Expected answer: Annex B contains legacy web-compatibility semantics; understanding it explains old code but it should not be the default modern style.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: Annex B is a list of experimental future features.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 95

Q366 — Debug a bug involving Annex B.

  • Level: Staff / architecture
  • Category: Annex B
  • Expected answer: Apply this rule first: Annex B contains legacy web-compatibility semantics; understanding it explains old code but it should not be the default modern style.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: Annex B is a list of experimental future features.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 95

Q367 — Name the misconception about Annex B.

  • Level: Staff / architecture
  • Category: Annex B
  • Expected answer: Correct model: Annex B contains legacy web-compatibility semantics; understanding it explains old code but it should not be the default modern style.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: Annex B is a list of experimental future features.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 95

Q368 — What production decision follows from Annex B?

  • Level: Staff / architecture
  • Category: Annex B
  • Expected answer: Use this constraint: Annex B contains legacy web-compatibility semantics; understanding it explains old code but it should not be the default modern style.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: Annex B is a list of experimental future features.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 95

Q369 — Define spec reading precisely.

  • Level: Staff / architecture
  • Category: spec reading
  • Expected answer: Read ECMA-262 by locating syntax/operation, following abstract operations and completion records, and distinguishing normative semantics, host hooks and implementation detail.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: The spec is only useful to engine implementers, not application engineers.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 96

Q370 — Debug a bug involving spec reading.

  • Level: Staff / architecture
  • Category: spec reading
  • Expected answer: Apply this rule first: Read ECMA-262 by locating syntax/operation, following abstract operations and completion records, and distinguishing normative semantics, host hooks and implementation detail.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: The spec is only useful to engine implementers, not application engineers.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 96

Q371 — Name the misconception about spec reading.

  • Level: Staff / architecture
  • Category: spec reading
  • Expected answer: Correct model: Read ECMA-262 by locating syntax/operation, following abstract operations and completion records, and distinguishing normative semantics, host hooks and implementation detail.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: The spec is only useful to engine implementers, not application engineers.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 96

Q372 — What production decision follows from spec reading?

  • Level: Staff / architecture
  • Category: spec reading
  • Expected answer: Use this constraint: Read ECMA-262 by locating syntax/operation, following abstract operations and completion records, and distinguishing normative semantics, host hooks and implementation detail.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: The spec is only useful to engine implementers, not application engineers.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 96

Q373 — Define semantic case studies precisely.

  • Level: Staff / architecture
  • Category: semantic case studies
  • Expected answer: Difficult behavior such as `[] == false`, detached methods, sparse arrays, property ordering, promise ordering and module cycles can be derived by tracing the relevant language rules.
  • Reasoning: Tests the governing mechanism.
  • Common incorrect answer: The only practical way to learn JavaScript edge cases is memorizing outputs.
  • Follow-up: Give one minimal example.
  • Related handbook chapter: chapter 97

Q374 — Debug a bug involving semantic case studies.

  • Level: Staff / architecture
  • Category: semantic case studies
  • Expected answer: Apply this rule first: Difficult behavior such as `[] == false`, detached methods, sparse arrays, property ordering, promise ordering and module cycles can be derived by tracing the relevant language rules.
  • Reasoning: Tests mechanism-first debugging.
  • Common incorrect answer: The only practical way to learn JavaScript edge cases is memorizing outputs.
  • Follow-up: What evidence would change your hypothesis?
  • Related handbook chapter: chapter 97

Q375 — Name the misconception about semantic case studies.

  • Level: Staff / architecture
  • Category: semantic case studies
  • Expected answer: Correct model: Difficult behavior such as `[] == false`, detached methods, sparse arrays, property ordering, promise ordering and module cycles can be derived by tracing the relevant language rules.
  • Reasoning: Tests guarantee vs folklore.
  • Common incorrect answer: The only practical way to learn JavaScript edge cases is memorizing outputs.
  • Follow-up: What bug can the misconception cause?
  • Related handbook chapter: chapter 97

Q376 — What production decision follows from semantic case studies?

  • Level: Staff / architecture
  • Category: semantic case studies
  • Expected answer: Use this constraint: Difficult behavior such as `[] == false`, detached methods, sparse arrays, property ordering, promise ordering and module cycles can be derived by tracing the relevant language rules.
  • Reasoning: Tests turning semantics into contracts.
  • Common incorrect answer: The only practical way to learn JavaScript edge cases is memorizing outputs.
  • Follow-up: How would you regression-test it?
  • Related handbook chapter: chapter 97