string-toLocaleUpperCase-default-case-mapping-2.js (292B)
1 // |jit-test| skip-if: typeof Intl === 'undefined' 2 3 function test() { 4 for (var i = 0; i <= 100; ++i) { 5 if (i === 100) { 6 setRealmLocale("tr-TR"); 7 } 8 assertEq( 9 "turkish i".toLocaleUpperCase(), 10 i < 100 ? "TURKISH I" : "TURK\u{130}SH \u{130}", 11 ); 12 } 13 } 14 test();