Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for BigInt numeric #588
Description of the Change
You can see this for example in the
The octal regex could be expanded to not allow the
Proper GitHub syntax highlighting with BigInts.
Not really applicable as this willt part of the
@lee-dohm It's at stage 3 in TC39 and it's shipping in at least one browser (Chrome, flag-gated in Firefox) and Node.js. That's good enough, isn't it? It's out there in the real world, it's not a hypothetical.
(It also seems to have been implemented in Chakracore but I don't know if it's actually been shipped in IE. I'm guessing 'no' what with the transition to a different engine.)
We're aware. We discussed it as a team and decided that we felt that knowing what version of ECMAScript it would appear in would be our bar for inclusion.
TC39 June meeting just happened and BigInt advanced to stage 4 (see the checkmark next to the agenda item) and thus will be included in the next formal spec release (ECMAScript 2020).
The PR towards ecma262 describing BigInt can be found here: tc39/ecma262#1515
I understand you might want to wait until this PR has landed (one never knows what might happen), just wanted to let you know