tor-browser

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

json-stringify-large-length.js (220B)


      1 // |jit-test| error:InternalError
      2 var arr = [1, 2, 3];
      3 var proxy = new Proxy(arr, {
      4    get(target, prop) {
      5        if (prop === "length") {
      6            return Math.pow(2, 33);
      7        }
      8    }
      9 });
     10 JSON.stringify(proxy);