Re:Adding BigInts to V8
by elmigranto on Thursday May 03, 2018 @07:32AM
(#16984998)
Given that `int + bigint` throws in JS, this exact thing will never happen imo, otherwise, you can't differentiate between types.
Maybe something like `{"x": 10n}`, but at that point, might as well do reviver, especially if you already agreed on a format and use some to parse out class instances vs plain objects.
Maybe something like `{"x": 10n}`, but at that point, might as well do reviver, especially if you already agreed on a format and use some to parse out class instances vs plain objects.