GO-V.ORG
As seen in

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.DisplayNames() constructor.

Developer library 6

Firefox 88 release notes for developers

dded support for [RegExp match indices](/docs/Web/JavaScript/Reference/Global_Objects/RegExp/exec) ([Firefox bug 1519483](https://bugzil.la/1519483)). - [`Intl.DisplayNames()`](/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames) and [`Intl.ListFormat()`](/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat) now have stricter checking that `options` passed to the construct

JavaScript reference

- AsyncDisposableStack ### Reflection - AbstractModuleSource - Reflect - Proxy ### Internationalization - Intl - Intl.Collator - Intl.DateTimeFormat - Intl.DisplayNames - Intl.DurationFormat - Intl.ListFormat - Intl.Locale - Intl.NumberFormat - Intl.PluralRules - Intl.RelativeTimeFormat - Intl.Segmenter ## Statements [JavaScript statements and declarations](/docs/Web/JavaScript/Reference/Statements) ### Contro

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference

Intl

nable language-sensitive string comparison. - Intl.DateTimeFormat - : Constructor for objects that enable language-sensitive date and time formatting. - Intl.DisplayNames - : Constructor for objects that enable the consistent translation of language, region and script display names. - Intl.DurationFormat - : Constructor for objects that enable locale-sensitive duration formatting. - Intl.ListFormat - : Constr

Intl.DisplayNames

The **`Intl.DisplayNames`** object enables the consistent translation of language, region and script display names. JavaScript Demo: Intl.DisplayNames ```js interactive-example const regionNamesInEnglish = new Intl.DisplayNames(["en"], { type: "region" }); const regionNamesInTraditionalChinese = new Intl.DisplayNames(["zh-Hant"], { type: "region", }); console.log(regionNamesInEnglish.of("US")); // Expected outpu

Intl.DisplayNames() constructor

The **`Intl.DisplayNames()`** constructor creates Intl.DisplayNames objects. JavaScript Demo: Intl.DisplayNames() constructor ```js interactive-example const regionNamesInEnglish = new Intl.DisplayNames(["en"], { type: "region" }); const regionNamesInTraditionalChinese = new Intl.DisplayNames(["zh-Hant"], { type: "region", }); console.log(regionNamesInEnglish.of("US")); // Expected output: "United States" conso

Internationalization

ences, or graphemes using Intl.Segmenter. - [Getting the displayed name](#display_names) for currencies, languages, scripts, regions, and time zones using Intl.DisplayNames. Most `Intl` APIs share a similar design (Intl.Locale is the only exception). You start by constructing an instance with the desired locale and options. This defines a set of rules for the desired operation (formatting, collation, segmentation, e

JSON results · Services directory