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.NumberFormat.prototype.resolvedOptions().
Developer library 6
Firefox 70 release notes for developers
8619](https://bugzil.la/1568619). - The Unicode extension key "nu" is now supported for the Intl.RelativeTimeFormat constructor and the Intl.RelativeTimeFormat.resolvedOptions() method now also returns `numberingSystem` ([Firefox bug 1521819](https://bugzil.la/1521819)). ### APIs #### DOM - The back(), forward(), and go() methods are now asynchronous. Add a listener to the popstate event to get notification that n
Intl.NumberFormat
() - : Returns an Array of objects representing the number string in parts that can be used for custom locale-aware formatting. - Intl.NumberFormat.prototype.resolvedOptions() - : Returns a new object with properties reflecting the locale and formatting options computed during initialization of the object. ## Examples ### Basic usage In basic use without specifying a locale, a formatted string in the default l
Intl.NumberFormat.prototype.resolvedOptions()
The **`resolvedOptions()`** method of Intl.NumberFormat instances returns a new object with properties reflecting the options computed during initialization of this `NumberFormat` object. JavaScript Demo: Intl.NumberFormat.prototype.resolvedOptions() ```js interactive-example const numberFormat = new Intl.NumberFormat("de-DE"); const options = numberFormat.resolvedOptions(); console.log(options.locale); // Expecte
Intl.NumberFormat() constructor
e one hidden in `[Symbol(IntlLegacyConstructedSymbol)]`. Calling the [`format()`](/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/format) and [`resolvedOptions()`](/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/resolvedOptions) methods on `formatter` would correctly use the options stored in that instance, but calling all other methods (e.g., [`formatRange()`](/docs/Web/JavaScript/Ref
Intl.supportedValuesOf()
es: `native`, `traditio`, and `finance`, whose meanings are locale-dependent, and will be resolved to the right system depending on the locale. Therefore, the `resolvedOptions()` methods will never return these values, but `Intl.Locale.prototype.numberingSystem` will (if provided as input). References: - [CLDR Numbering system type keys](https://github.com/unicode-org/cldr/blob/main/common/bcp47/number.xml) - [CLDR
Intl.ListFormat.prototype.resolvedOptions()
The **`resolvedOptions()`** method of Intl.ListFormat instances returns a new object with properties reflecting the options computed during initialization of this `ListFormat` object. JavaScript Demo: Intl.ListFormat.prototype.resolvedOptions() ```js interactive-example const deListFormatter = new Intl.ListFormat("de-DE", { type: "disjunction" }); const options = deListFormatter.resolvedOptions(); console.log(opti