every note, in one binder ✎

Developer interview notes & guides — Page 9

Focused explanations and longer guides, with worked scenarios, common mistakes and interview exercises across every chapter.

read ✓TypeScript · mid

TypeScript Infer for Type Extraction

How infer pulls element, return and parameter types out of other types, why readonly arrays don't match T[], and how to parse route strings.

~5 min readread →
read ✓TypeScript · hard

TypeScript Null Narrowing Across Control Flow

How strictNullChecks narrows through returns, closures and filter calls, where it keeps a narrowing it shouldn't, and what to do about Map.get.

~6 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 ✓HTML & CSS · easy

The Cascade, Specificity & the Box Model

How the browser decides which CSS rule wins (origin, @layer, specificity, order), how inheritance and box-sizing work, and why z-index can seem broken.

~7 min readread →
read ✓JavaScript · mid

Implement Debounce and Throttle From Scratch

Build debounce and throttle the way interviewers expect: timelines, this and args, cancel(), leading and trailing edges, and how to test them.

~7 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 →
esc