every note, in one binder ✎

Developer interview notes & guides — Page 12

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

read ✓JavaScript · easy

JavaScript Array Sort Comparators

Sort arrays in place with a correct comparator, understand default string ordering and sort stability, and avoid the numeric and string traps.

~3 min readread →
read ✓JavaScript · hard

JavaScript Async Iteration and Backpressure

Consume async generators with for await, propagate errors and pace a producer to a slow consumer without buffering the whole stream.

~3 min readread →
read ✓JavaScript · mid

JavaScript Custom Error Classes

Extend Error to carry a stable name and instanceof, preserve the underlying cause, and avoid the string-throwing mistakes interviewers look for.

~3 min readread →
read ✓JavaScript · hard

JavaScript Proxy Traps for Validation

Validate object writes with Proxy set and get traps, forward with Reflect and avoid the invariants that make a proxy lie about its target.

~3 min readread →
read ✓JavaScript · mid

JavaScript structuredClone and Transferables

Deep-clone Dates, Maps, Sets and cyclic graphs with structuredClone, and move ArrayBuffers between contexts instead of copying them.

~3 min readread →
esc