Skip to content
?? vs ||: Why Your Zero Keeps Disappearing thumbnail

?? vs ||: Why Your Zero Keeps Disappearing

Running a quiz service, we got a complaint one day: “I just took the test — why does it say ‘No score’?” We checked. Their score was zero. The database clearly stored 0, the API returned 0 faithfully. The culprit was a single line in the UI code. javascript Read line numbers: OFF Line-number reading help Reading line numbers aloud This button is for screen reader users. ...

Published date: 2026-07-14 · Updated 2026-07-17 · Reading time: 9 min · Word count: 1835 words · Author: Isaac
Promise.all vs Promise.allSettled: The Difference That Matters thumbnail

Promise.all vs Promise.allSettled: The Difference That Matters

I built a dashboard. I was proud of it. Three lines of code using Promise.all to fetch three APIs at once — and the code review feedback was “clean.” Multiple tasks running concurrently - with Promise.all, one failure affects the whole thing Photo: Unsplash javascript Read line numbers: OFF Line-number reading help Reading line numbers aloud This button is for screen reader users. ...

Published date: 2026-04-08 · Updated 2026-07-17 · Reading time: 7 min · Word count: 1487 words · Author: Isaac
Function Declarations vs Expressions: Hoisting Explained thumbnail

Function Declarations vs Expressions: Hoisting Explained

At some point while writing JavaScript, you’ll end up with code like this: javascript Read line numbers: OFF Line-number reading help Reading line numbers aloud This button is for screen reader users. ...

맨 위로