tor-browser

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

bug1653972.js (225B)


      1 function maybeSetLength(arr, b) {
      2    if (b) {
      3        arr.length = 0x8000_1111;
      4    }
      5 }
      6 var arr = [];
      7 for (var i = 0; i < 1600; i++) {
      8    maybeSetLength(arr, i > 1500);
      9    arr.push(2);
     10 }
     11 assertEq(arr.length, 0x8000_1112);