The Intl[@@toStringTag]
property has an initial value of
"Intl".
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
Property attributes of Intl[@@toStringTag] |
|
---|---|
Writable | no |
Enumerable | no |
Configurable | yes |
Syntax
Intl[Symbol.toStringTag]
Examples
Using toStringTag
Object.prototype.toString.call(Intl) // "[object Intl]"
Intl.toString() // "[object Intl]"
Specifications
Specification |
---|
ECMAScript Internationalization API (ECMA-402) The definition of 'Intl[@@toStringTag]' in that specification. |
Browser compatibility
BCD tables only load in the browser