Tin mới
JavaScript: Scripting language
Web APIs: Programming interfaces
Structuring content with HTML module
Dynamic scripting with JavaScript module
Locale identification and negotiation
Constructor for collators, which are objects that enable language-sensitive string comparison.
Constructor for collators, which are objects that enable language-sensitive string comparison.
Constructor for collators, which are objects that enable language-sensitive string comparison.
The initial value of the [Symbol.toStringTag] property is the string "Intl". This property is used in Object.prototype.toString().
The initial value of the [Symbol.toStringTag] property is the string "Intl". This property is used in Object.prototype.toString().
Returns a sorted array containing the supported unique calendar, collation, currency, numbering systems, or unit values supported by the implementation.
Returns a sorted array containing the supported unique calendar, collation, currency, numbering systems, or unit values supported by the implementation.
Instead of passing a hardcoded locale name to the Intl methods, you can use the user's preferred language provided by navigator.language:
Instead of passing a hardcoded locale name to the Intl methods, you can use the user's preferred language provided by navigator.language:
This page was last modified on Sep 24, 2025 by MDN contributors.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.