GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

4 results across 6 corpora for Intl.DisplayNames.prototype.resolvedOptions().

Developer library 4

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.DisplayNames

is method receives a `code` and returns a string based on the locale and options provided when instantiating `Intl.DisplayNames`. - Intl.DisplayNames.prototype.resolvedOptions() - : Returns a new object with properties reflecting the locale and formatting options computed during initialization of the object. ## Examples ### Region Code Display Names To create an `Intl.DisplayNames` for a locale and get the displ

Intl.DisplayNames.prototype.resolvedOptions()

The **`resolvedOptions()`** method of Intl.DisplayNames instances returns a new object with properties reflecting the options computed during initialization of this `DisplayNames` object. ## Syntax ```js-nolint resolvedOptions() ``` ### Parameters None. ### Return value A new object with properties reflecting the options computed during the initialization of this `DisplayNames` object. The object has the follow

Internationalization

heoretically dependent on what API you are using the calendar with, so to get the default calendar of `en-US` as used by `Intl.DateTimeFormat`, you can use its resolvedOptions() method. The same goes for other properties. ```js const locale = new Intl.Locale("en-US"); console.log(locale.calendar); // undefined; it's not provided console.log(new Intl.DateTimeFormat(locale).resolvedOptions().calendar); // "gregory" ``

JSON results · Services directory