Understand JavaScript, React & Next.js — one short post at a time.

Practical, diagram-first explanations you can read over coffee. 48 posts and counting.

Newest

You Selected Rows 3, 8, 12, 15 and 20. JavaScript Checked 3, 1 and 8.

Why ['1', '7', '11'].map(parseInt) returns [1, NaN, 3]: map passes the index as parseInt's radix. Plus the Number('') trap hiding in the obvious fix.

4 min read2

Get new posts in your inbox

No spam. Unsubscribe any time.

What should I write next?

Stuck on a concept or an interview question? Ask — the best ones become posts.