Temporal is the Date system we always wanted in JavaScript. It's extremely close to being available so Mat Marquis thought it would be a good idea to explain exactly what is better about this new JavaScript date system.
Which, as they note, is what all the temporal apis return anyway (Temporal.PlainTime et al). There’s only so much you can fix in the language at this point, I suppose.
Tapped out at the paragraphs long diatribe about how date is an object…
Which, as they note, is what all the temporal apis return anyway (Temporal.PlainTime et al). There’s only so much you can fix in the language at this point, I suppose.