Object.prototype.toLocaleString()【文字列変換 (ロケール)】メソッド
メモ
- ロケール文字列に変換 (toString を使用)
- 下記のオブジェクトが上書き
- Array【配列】オブジェクト
- ~Array【型指定配列ビュー (%TypedArray%)】オブジェクト
- Date【型変換 (現在日時文字列)】
- Number【数値】オブジェクト
構文
- toLocaleString ()
- toLocaleString ( [ reserved1 [ , reserved2 ] ] )
- なし
ロケール文字列
関連
- Array.toLocaleString ()【文字列変換 (ロケール)】 ・Date.toLocaleString ()【ロケール日時文字列変換 (ローカル時刻)】 ・Number.toLocaleString ()【文字列変換 (ロケール)】 ・Object.toLocaleString ()【文字列変換 (ロケール)】
- ECMAScript 5.1:15.2.4.3 Object.prototype.toLocaleString ( ) (英語)
- ECMAScript 6.0:Object.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] ) (英語)