Native BigInts in JavaScript: A Case Study in TC39
summary
JavaScript gains a native integer type that actually represents whole integers beyond 2*53 and avoids the Twitter ID and inode rounding bugs by design. The proposal documents include a spec draft, conformance tests and V8 and SpiderMonkey prototypes, reach stage 3 in TC39 and already ship in Chrome. Mixed-type arithmetic deliberately throws rather than coerces. The result is BigInt: unlimited-size integer* with implementations and tests proving the feature works.
AI-written summary · about








