Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
krainboltgreene
· 4y ago · 0 comments
Not all JSON is syntactically valid javascript.
Comments
[–]
alexisbear
4y ago
Since ES2019[1], all JSON is valid JavaScript with U+2028 and U+2029 being accepted as unescaped characters in strings.
1:
https://tc39.es/proposal-json-superset/