[Edge]。→、
Intl.ListFormat でのリストの書式化に計算されたプロパティを持つ新しいオブジェクトを返します。
| Intl.ListFormat | Intl.ListFormat |
|---|
以下のプロパティを持つオブジェクト。
値例:「ja」
値例: 「disjunction」
値例: 「long」
DA=new Intl.ListFormat('ja'); //日本語。
D=DA.resolvedOptions(); //=[object]:[object Object]
//locale=[string]:ja
//type=[string]:conjunction
//style=[string]:long
DA=new Intl.ListFormat('en'); //英語。
D=DA.resolvedOptions(); //=[object]:[object Object]
//locale=[string]:en
//type=[string]:conjunction
//style=[string]:long
DA=new Intl.ListFormat('ja', {type:'disjunction', localeMatcher:'lookup'}); //日本語、リスト化の種類、マッチングアルゴリズム。
D=DA.resolvedOptions(); //=[object]:[object Object]
//locale=[string]:ja
//type=[string]:disjunction
//style=[string]:long