[Edge]。→、
Intl.Locale の比較規則で大文字小文字のどちらが先かを示す文字列を返します。
Intl.Locale | Intl.Locale |
---|
文字列。→Intl.Collator():caseFirst
DA=new Intl.Locale('ja-JP'); //日本語の日本国。 D=DA.caseFirst; //=[undefined]:undefined DA=new Intl.Locale('ja-JP-u-kf-false'); //日本語で日本国、大文字小文字の優先。 D=DA.caseFirst; //=[string]:false DA=new Intl.Locale('ja-JP', {caseFirst:'false'}); //日本語で日本国、大文字小文字の優先。 D=DA.caseFirst; //=[string]:false DA=new Intl.Locale('ja-JP', {caseFirst:false}); //日本語で日本国、大文字小文字の優先。 D=DA.caseFirst; //=[string]:false