tor-browser

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

bug1772824.js (265B)


      1 function foo() { eval(); boundName += 1; }
      2 
      3 boundName = 0;
      4 for (var i = 0; i < 10; i++) {
      5  eval("var x" + i + " = 0;");
      6  foo();
      7 }
      8 
      9 // Redefine variable as const
     10 evaluate(`
     11  const boundName = 0;
     12  for (var i = 0; i < 2; i++) {
     13    try { foo(); } catch {}
     14  }
     15 `);