Comment on In 1995, a Netscape employee wrote a hack in 10 days that now runs the Internet
hperrin@lemmy.ca 2 weeks ago
I mean, sure, but the JS we write today is quite a bit different than the JS he designed.
It was also heavily influenced by a number of other languages, and borrowed tons of libraries from them. The entire number and math system is just a straightforward implementation of IEEE 754.
MacNCheezus@lemmy.today 2 weeks ago
Yes, but all of the quirks it had back then are still there, for backwards compatibility
hperrin@lemmy.ca 2 weeks ago
Yeah, but only kind of. It depends if you’re using the new syntax. Within new language constructs (like Class), code runs in strict mode without having to use
“use strict”. It gets rid of some of the annoying quirks.