tor-browser

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

popped-getiter.js (248B)


      1 // This will pop the getiter fuse.
      2 Array.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];
      3 
      4 function f() {
      5    [] = []
      6 }
      7 
      8 // We should nevertheless be able to pass this loop without crashing.
      9 for (let i = 0; i < 100; i++) {
     10    f();
     11 }