JavaScript's Date constructor has fundamental flaws: zero-indexed months, inconsistent parsing, mutable objects representing immutable real-world dates, and poor timezone support. The new Temporal API solves these issues with immutable-style methods that return new objects instead of mutating existing ones, explicit timezone
•19m read time• From piccalil.li
17 Comments
Sort: