tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1947139.js (381B)


      1 function test() {
      2  const char = "\u1FA2";
      3  const upperChars = char.toUpperCase();
      4  assertEq(upperChars.length, 2);
      5  for (var i = 0; i < 20; i++) {
      6    var prefix1 = "a".repeat(i);
      7    var prefix2 = ".".repeat(i);
      8    assertEq((prefix1 + char).toUpperCase(), prefix1.toUpperCase() + upperChars);
      9    assertEq((prefix2 + char).toUpperCase(), prefix2 + upperChars);
     10  }
     11 }
     12 test();