Intl.Locale() コンストラクター
Intl.Locale
コンストラクターは、 Intl オブジェクトの標準組み込みプロパティで、 Unicode ロケール識別子を表します。
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
構文
new Intl.Locale(tag [, options])
引数
tag
- Unicode ロケール識別子の文字列です。
options
- ロケールの構成を含むオブジェクトです。キーは Unicode ロケールタグで、値は有効な Unicode タグ値です。
仕様書
ブラウザーの互換性
BCD tables only load in the browser