JSON support for BigInt in Chrome/V8
Andrew Paprocki
andrew at ishiboo.com
Wed Jul 18 22:55:18 UTC 2018
On Wed, Jul 18, 2018 at 5:03 AM, J Decker <d3ck0r at gmail.com> wrote:
>
>
> Well; Since JSON (JavaScript Object Notation) there's now available to JS
> a feature that an 'n' suffix can be applied to a number. Seems JSON should
> just inherit that.
>
json.org states:
"It is based on a subset of the JavaScript Programming Language, Standard
ECMA-262 3rd Edition - December 1999."
ECMA-404 states:
"JSON stands for JavaScript Object Notation and was inspired by the object
literals of JavaScript aka ECMAScript as defined in the ECMAScript Language
Specification, Third Edition [1]. However, it does not attempt to impose
ECMAScript’s internal data representations on other programming languages.
Instead, it shares a small subset of ECMAScript’s syntax with all other
programming languages."
The 3rd edition did not contain the 'n' suffix, and neither indicate that
new ES features should be added to JSON.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180718/b4d0903f/attachment.html>
More information about the es-discuss
mailing list