[Edge]。→、
Intl.Collator のオプションの計算された設定値を新しいオブジェクトで返します。
| Intl.Collator | Intl.Collator オブジェクト。 |
|---|
以下のようなプロパティを持つオブジェクト。値は、計算された結果の物が返される。
プロパティは、コンストラクターで指定されていない場合は省かれる場合もある。
DA=new Intl.Collator('ja-JP-u-kf-upper', {ignorePunctuation:true}); //日本語、大文字が先、句読点無視。
D=DA.resolvedOptions(); //=[object]:[object Object]
//locale=[string]:ja-u-kf-upper
//usage=[string]:sort
//sensitivity=[string]:variant
//ignorePunctuation=[boolean]:true
//collation=[string]:default
//numeric=[boolean]:false
//caseFirst=[string]:upper