One of the most underrated ES2019 features is “subsume JSON”, a.k.a. “JSON ⊂ ECMAScript”. It simplifies the language & enables interesting meta-programming use cases.
JSON.stringify output can now be embedded as a literal within JavaScript programs! https://v8.dev/features/subsume-json …
-
-
Replying to @v8js
Do the U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR characters matter to web developers?
1 reply 0 retweets 1 like
Replying to @simevidas @v8js
I wish developers didn't have to care about these two, but unfortunately they are still treated as LineTerminator characters in certain JavaScript contexts, and changing it would break the web: https://bugs.chromium.org/p/v8/issues/detail?id=6827 … My advice is to just stick to LF in code you control.
0 replies
1 retweet
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.