psst… 1300+ questions inside

Your interview study notes, finally organized.

Clear, friendly notes on the JavaScript, TypeScript, React & Angular questions that come up again and again, with the reasoning written in the margins. Then practice them like it's the real interview.

Closures, Ch. 1 ✦
function outer() {
  let count = 0;
  return function inner() {
    return ++count;
  };
}
const next = outer();
next(); // 1
next(); // 2 ← why not 1?!
Q: var vs let?var → function scope, hoisted as undefined
let → block scope + TDZ!
Top 10 Q ★Asked in almost every JS round.

Pick a chapter (start anywhere, really)

See all chapters →

Frontend

The browser, the language and the frameworks.

Backend

Servers, services and the languages behind them.

Databases

Relational and document stores, queries and design.

Cloud & DevOps

Containers, orchestration, cloud and delivery.

Platforms

Enterprise platforms with their own interview loops.

Fundamentals

Algorithms and architecture: asked everywhere.

The practice room no sign-up, saved in your browser

Open the practice room →

Latest notes fresh off the pen ✎

All 19 notes →
read ✓System Design · hard

Frontend System Design: Build an Autocomplete

A structured walkthrough of the autocomplete design round: requirements, architecture, race-free fetching, caching, rendering, the ARIA combobox and metrics.

~7 min readread →
read ✓JavaScript · mid

Closures, Scope & the Classic setTimeout Loop

What lexical scope and closures really are, why the var + setTimeout loop prints 3 3 3, three ways to fix it, and where closures earn their keep in real code.

~6 min readread →
read ✓JavaScript · hard

The Event Loop: Microtasks vs Macrotasks

How the call stack, task queue and microtask queue fit together, where rendering happens, how async/await schedules work, and output puzzles with answers.

~7 min readread →
read ✓React · mid

useEffect Pitfalls Interviewers Love to Ask

Stale closures, missing cleanup, fetch races, Strict Mode's double run, infinite loops and effects you don't need, plus how useLayoutEffect differs in timing.

~7 min readread →

Tear-off cheat sheets print & stick on your wall

All cheat sheets →

A note in your inbox, every Sunday.

One tricky interview question, fully explained. Takes 5 minutes to read with your coffee.

esc