Skip to content
FrontDepth, Home

All tracks

01 · Track

JavaScript Deep Dive

Event loop, closures, scope and the language internals — understand why your code behaves the way it does.

Topics · 5

  1. 01

    How a function keeps access to the variables of the scope it was created in — from counters and callbacks to the scope chain, memory retention and stale closures in React.

    JuniorMiddleSenior· 14 questions
  2. 02

    How single-threaded JavaScript handles timers, network responses and user input without freezing the page: the call stack, task and microtask queues, rendering, and what this means for React and performance.

    JuniorMiddleSenior· 14 questions
  3. 03

    How JavaScript represents results that arrive later: promise states and chains, async/await and its microtasks, error handling, parallel work and combinators, cancellation with AbortController, and latest-only requests in UI.

    JuniorMiddleSenior· 13 questions· Requires: Event Loop
  4. 04

    How JavaScript files depend on each other: import and export forms, module scope, static structure and tree shaking, live bindings, evaluation order and cycles, dynamic import and top-level await, CommonJS interop, bundlers and Vite.

    JuniorMiddleSenior· 13 questions
  5. 05

    How JavaScript decides what to free — reachability, roots, mark-and-sweep and V8's generations — why web apps still leak through listeners, timers, detached nodes and caches, and how to find leaks with heap snapshots.

    JuniorMiddleSenior· 13 questions· Requires: Closures