Lines Matching refs:nf
30 var nf = Intl.NumberFormat(['zh-TW'], {localeMatcher: 'lookup'}); variable
31 assertEquals('zh-TW', nf.resolvedOptions().locale);
33 var nf = Intl.NumberFormat(['zh-Hant-TW'], {localeMatcher: 'lookup'});
34 assertEquals('zh-Hant-TW', nf.resolvedOptions().locale);
36 var nf = Intl.NumberFormat(['zh-Hant'], {localeMatcher: 'lookup'});
37 assertEquals('zh-Hant', nf.resolvedOptions().locale);
39 nf = Intl.NumberFormat(['zh'], {localeMatcher: 'lookup'});
40 assertEquals('zh', nf.resolvedOptions().locale);
42 nf = Intl.NumberFormat(['zh-CN'], {localeMatcher: 'lookup'});
43 assertEquals('zh-CN', nf.resolvedOptions().locale);
45 nf = Intl.NumberFormat(['zh-Hans-CN'], {localeMatcher: 'lookup'});
46 assertEquals('zh-Hans-CN', nf.resolvedOptions().locale);
48 nf = Intl.NumberFormat(['zh-Hans'], {localeMatcher: 'lookup'});
49 assertEquals('zh-Hans', nf.resolvedOptions().locale);
51 nf = Intl.NumberFormat(['en-US'], {localeMatcher: 'lookup'});
52 assertEquals('en-US', nf.resolvedOptions().locale);