Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

Intl.DateTimeFormat.supportedLocalesOf()

2 tags 1 category

The Intl.DateTimeFormat.supportedLocalesOf() static method returns an array containing those of the provided locales that are supported in date and time formatting without having to fall back to the runtime’s default locale.

Return value: An array of strings representing a subset of the given locale tags that are supported in date and time formatting without having to fall back to the runtime’s default locale.

Parameters: locales A string with a BCP 47 language tag, or an array of such strings. For the general form and interpretation of the locales argument, see the parameter description on the Intl main page. options An object that may have the following property: localeMatcher The locale matching algorithm to use. Possible values are “lookup” and “best fit”; the default is “best fit”. For information about this option, see the Intl page.

Syntax example: Intl.DateTimeFormat.supportedLocalesOf(locales)

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…