If it's more secure AND faster to parse from string anyway, why is this useful?
-
-
-
It helps for that case as well! See this section: https://v8.dev/features/subsume-json#embedding-json-parse …
End of conversation
New conversation -
-
-
Do the U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR characters matter to web developers?
-
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.
End of conversation
New conversation -
-
-
@SimonCodes_ such functionalityThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
hmmm cool, i probably need it
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
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!