JavaScript
You're viewing a free preview. Sign in free to read every script.
Why this exists JavaScript has a single number type and a Date object that behaves differently depending on the computer's time zone. Between them they account for a great many production bugs: totals that are a cent…
JavaScript Basics: Numbers, Parsing, Dates, Time Zones and Intl Formatting
The numeric and date traps that break real tools: floating-point and money, BigInt, the three ways to parse a number, NaN, the Date object's zero-based months and time-zone behaviour, retention cutoffs and durations, and Intl for formatting, all run for real.
Sign in free to read this script, along with the rest of the library.
Sign in free