← Back to release summary

BigInt: arbitrary-precision integers

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 67)
Intent stage
None

Summary

JavaScript gets a new numeric primitive that provides support for arbitrary-precision integers. `Number`s in JavaScript are represented as double-precision floats, giving them limited precision. `BigInt`s, on the other hand, can safely store and operate on large integers even beyond the safe integer limit for `Number`s.

Standards & signals

Docs: https://docs.google.com/document/d/1n3tBP90XibvnHMFCY3vdhvkXHFp2joSZp7qnqBtn0PU/edit

View on chromestatus.com