Notes on JavaScript

20 posts per page. Guests can comment without an account.

Newest first Oldest first
closures.js

let in a for-loop, still a trap

11.09.2026 · 6 comments

Why the classic var example still shows up in interviews, and what actually changed.

promise.ts

Promise.all vs allSettled

08.09.2026 · 3 comments

One rejection should not wipe a dashboard of widgets. allSettled keeps the rest.

optional.js

Optional chaining is not a null check

02.09.2026 · 11 comments

When ?. hides bugs, and when a real if still reads better.