Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for Intl.Locale.prototype.variants.
Encyclopedia 0
This corpus is unavailable: timeout
Books 0
This corpus is unavailable: timeout
Papers 0
This corpus is unavailable: timeout
Wikidata 0
This corpus is unavailable: timeout
Developer library 6
Firefox 70 release notes for developers
bugzil.la/1435818)). - The Intl.RelativeTimeFormat.formatToParts() method has been implemented ([Firefox bug 1473229](https://bugzil.la/1473229)). - The BigInt.prototype.toLocaleString() method has been updated to work with the `locales` and `options` parameters per the ECMAScript 402 Intl API. Also, Intl.NumberFormat.format() and Intl.NumberFormat.formatToParts() now accept BigInt values ([Firefox bug 1543677](https
Intl
the [`[Symbol.toStringTag]`](/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag) property is the string `"Intl"`. This property is used in Object.prototype.toString(). ## Static methods - Intl.getCanonicalLocales() - : Returns canonical locale names. - Intl.supportedValuesOf() - : Returns a sorted array containing the supported unique calendar, collation, currency, numbering systems, or unit value
Intl.supportedValuesOf()
unit values supported by the implementation. Duplicates are omitted and the array is sorted in ascending lexicographical order (or more precisely, using Array.prototype.sort() with an `undefined` compare function). The method can be used to feature-test whether values are supported in a particular implementation and download a polyfill only if necessary. It can also be used to build UIs that allow users to select t
Intl.Locale
numbering systems. ## Constructor - Intl.Locale() - : Creates a new `Locale` object. ## Instance properties These properties are defined on `Intl.Locale.prototype` and shared by all `Intl.Locale` instances. - Intl.Locale.prototype.baseName - : Returns basic, core information about the `Locale` in the form of a substring of the complete data string. - Intl.Locale.prototype.calendar - : Returns the part of
Intl.Locale.prototype.variants
The **`variants`** accessor property of Intl.Locale instances returns the variants associated with this locale, as a string of dash (`-`) separated identifiers in the originally specified order. ## Description Variants are a part of the main language ID. They select variants of a language that the (language, region, script) triple cannot differentiate. Usually, they represent the same language in different eras or
Intl.Locale() constructor
e/Global_Objects/Intl/Locale/hourCycle). Possible values are `"h23"`, `"h12"`, `"h11"`, or the practically unused `"h24"`, which are explained in [`Intl.Locale.prototype.getHourCycles`](/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getHourCycles#supported_hour_cycle_types) - `numeric` - : The [numeric sort option](/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/numeric). A boolean. ##