The Intl.NumberFormat.prototype property represents the prototype object for the Intl.NumberFormat constructor.
Property attributes of Intl.NumberFormat.prototype
| |
|---|---|
| Writable | no |
| Enumerable | no |
| Configurable | no |
See NumberFormat for a description of Intl.NumberFormat instances.
Intl.NumberFormat instances inherit from Intl.NumberFormat.prototype. Modifications to the prototype object are inherited by all Intl.NumberFormat instances.
Intl.NumberFormat.prototype.constructorIntl.NumberFormat.Intl.NumberFormat.prototype.formatNumberFormat object.Intl.NumberFormat.prototype.formatToParts()Array of objects representing the number string in parts that can be used for custom locale-aware formatting.Intl.NumberFormat.prototype.resolvedOptions()| Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|---|
| Basic support | 24 | Yes | 29 | 11 | 15 | 10 |
| Feature | Android webview | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
|---|---|---|---|---|---|---|---|
| Basic support | No | 26 | Yes | 56 | No | ? | 10 |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/prototype