Glossary Term
Intl.NumberFormat() constructor
The Intl.NumberFormat() constructor creates Intl.NumberFormat objects.
Return value: Note: The text below describes behavior that is marked by the specification as “optional”. It may not work in all environments. Check the browser compatibility table.
Return value: Normally, Intl.NumberFormat() can be called with or without new, and a new Intl.NumberFormat instance is returned in both cases. However, if the this value is an object that is instanceof Intl.NumberFormat (doesn’t necessarily mean it’s created via new Intl.NumberFormat; just that it has Intl.NumberFormat.prototype in its prototype chain), then the value of this is returned instead, with the newly created Intl.NumberFormat object hidden in a [Symbol(IntlLegacyConstructedSymbol)] property (a unique symbol that’s reused between instances).
Syntax example: new Intl.NumberFormat()
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
