JSON support for BigInt in Chrome/V8

Waldemar Horwat waldemar at google.com
Tue Jul 17 22:06:15 UTC 2018


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".

     Waldemar


More information about the es-discuss mailing list