Articles 46–50 of 50.
What a closure is, why the classic loop bug happens, and the three real-world patterns closures enable — memoisation, private state and partial application.
The TweakPad Team
How ?. and ?? work, why ?? is not the same as ||, and the short-circuit behaviour that surprises people. With practical patterns for API data.
The TweakPad Team
Why 0 == "" is true, NaN !== NaN, and when Object.is differs from strict equality. A clear model for JavaScript comparison instead of memorised rules.
The TweakPad Team
How async/await really works, the sequential-await mistake that makes code 10x slower, and how to handle errors and parallel work correctly.
The TweakPad Team
A working reference for JavaScript array methods — which mutate, which return new arrays, and which one to reach for. With performance notes and real examples.
The TweakPad Team