🏠 New in High Baseline Support: Intl.Locale
March 16, 2023
The Intl.Locale
API parses Unicode locale identifiers, with language, region, and script codes, such as zh-Hans-CN
or en-GB
.
Source features
javascript.builtins.Intl.Locale
[mdn]javascript.builtins.Intl.Locale.Locale
[mdn]javascript.builtins.Intl.Locale.baseName
[mdn]javascript.builtins.Intl.Locale.calendar
[mdn]javascript.builtins.Intl.Locale.caseFirst
[mdn]javascript.builtins.Intl.Locale.collation
[mdn]javascript.builtins.Intl.Locale.hourCycle
[mdn]javascript.builtins.Intl.Locale.language
[mdn]javascript.builtins.Intl.Locale.maximize
[mdn]javascript.builtins.Intl.Locale.minimize
[mdn]javascript.builtins.Intl.Locale.numberingSystem
[mdn]javascript.builtins.Intl.Locale.numeric
[mdn]javascript.builtins.Intl.Locale.region
[mdn]javascript.builtins.Intl.Locale.script
[mdn]javascript.builtins.Intl.Locale.toString
[mdn]