Skip to main content

Mock Interview Rounds 1–8

Round 1 — Junior JavaScript Screen​

Target duration: 30 minutes

Prompts​

  1. Explain let, const, and var.
  2. Predict a coercion/equality snippet.
  3. Write a small array transformation without mutation.
  4. Explain a thrown TypeError from a property access.

Scoring rubric​

  • Correct fundamentals 40%
  • Clear reasoning 30%
  • Working code 20%
  • Communication 10%

Pass signal​

The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.

Round 2 — Mid-Level Frontend JavaScript​

Target duration: 45 minutes

Prompts​

  1. Explain closures and event handlers.
  2. Implement event delegation for a dynamic list.
  3. Fetch JSON with status/error handling and cancellation.
  4. Diagnose a stale-response bug.

Scoring rubric​

  • Language/runtime model 25%
  • Browser host API reasoning 30%
  • Async correctness 25%
  • Maintainability 20%

Pass signal​

The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.

Round 3 — Senior Frontend JavaScript​

Target duration: 60 minutes

Prompts​

  1. Explain Promise Jobs vs browser tasks.
  2. Design state ownership for a complex screen.
  3. Profile a long-task regression.
  4. Threat-model unsafe DOM rendering and third-party scripts.

Scoring rubric​

  • Mechanism depth 25%
  • Architecture 30%
  • Performance/debugging 25%
  • Security 20%

Pass signal​

The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.

Round 4 — Scope / Closure Deep Dive​

Target duration: 45 minutes

Prompts​

  1. Walk declaration instantiation and TDZ.
  2. Explain closure behavior in loops.
  3. Find a memory retention bug caused by a closure.
  4. Compare lexical bindings with copied values.

Scoring rubric​

  • Specification reasoning 40%
  • Debugging 25%
  • Memory model 20%
  • Examples 15%

Pass signal​

The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.

Round 5 — Objects / Prototypes / Classes​

Target duration: 50 minutes

Prompts​

  1. Trace property lookup through a prototype chain.
  2. Explain descriptors and frozen objects.
  3. Refactor a constructor/prototype pattern to class syntax without changing semantics.
  4. Review code for prototype-pollution risk.

Scoring rubric​

  • Prototype semantics 35%
  • Object invariants 25%
  • Modern syntax reasoning 20%
  • Security 20%

Pass signal​

The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.

Round 6 — Async / Event Loop Deep Dive​

Target duration: 60 minutes

Prompts​

  1. Predict logs involving sync code, Promise reactions, queueMicrotask and setTimeout.
  2. Design bounded concurrency.
  3. Explain why async races occur on one JS thread.
  4. Handle cancellation across nested async operations.

Scoring rubric​

  • Ordering accuracy 30%
  • Promise semantics 25%
  • Host boundary 20%
  • Production orchestration 25%

Pass signal​

The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.

Round 7 — Browser / DOM Interview​

Target duration: 50 minutes

Prompts​

  1. Explain Node vs Element vs DOM collections.
  2. Build accessible form validation.
  3. Compare textContent and innerHTML.
  4. Explain event propagation and delegation.

Scoring rubric​

  • Web API model 30%
  • Accessibility 20%
  • Security 25%
  • Code quality 25%

Pass signal​

The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.

Round 8 — Performance Interview​

Target duration: 60 minutes

Prompts​

  1. Create a measurement plan for a slow interaction.
  2. Separate network, CPU, DOM, memory and scheduling costs.
  3. Explain when a Worker helps.
  4. Review memoization/cache trade-offs.

Scoring rubric​

  • Measurement discipline 30%
  • Bottleneck reasoning 30%
  • Browser runtime knowledge 20%
  • Trade-offs 20%

Pass signal​

The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.