JSON support for BigInt in Chrome/V8
Michael J. Ryan
tracker1 at gmail.com
Tue Jul 17 22:52:39 UTC 2018
Out of bounds as you'd still have to parse it, but for encoding, could add
On Tue, Jul 17, 2018, 15:44 Andrea Giammarchi <andrea.giammarchi at gmail.com>
> I guess a better example would've been `Boolean('false')` returns true,
> but yeah, I've moved slightly forward already with everything, if you read
> other messages.
> On Wed, Jul 18, 2018 at 12:06 AM Waldemar Horwat <waldemar at google.com>
>> On 07/17/2018 04:27 AM, Andrea Giammarchi wrote:
>> > actually, never mind ... but I find it hilarious
>> that BigInt('55555555555555555550000000000000000000001') works
>> but BigInt('55555555555555555550000000000000000000001n') doesn't ^_^;;
>> That's no different from how other built-in types work. String('"foo"')
>> doesn't give you the same string as the string literal "foo".
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss