December 4, 2026
Why [10, 9, 1].sort() gets it wrong, how to sort by date or amount, order accented names properly and chain several criteria…
November 29, 2026
Why 0.1 + 0.2 isn't 0.3, why (1.005).toFixed(2) returns "1.00", and how to round, compare and calculate money correctly in JavaScript.
November 16, 2026
A date entered as the 16th shows up as the 15th for some users? Why new Date() and toISOString() shift dates, and…
October 29, 2026
Thousands separators, currency symbols, long dates, "2 hours ago": the browser's Intl API handles all of it correctly for every locale. How…