← Back to release summary

Locale sensitive BigInt.prototype.toLocaleString and allow Intl.NumberFormat format/formatToParts to take BigInt.

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

Summary

Changes BigInt.prototype.toLocaleString() to locale-sensitive number formatting and changes Intl.NumberFormat.prototype.format() and formatToParts() to accept BigInt as input.

Standards & signals

Docs: https://github.com/tc39/ecma402/pull/236

View on chromestatus.com