tor-browser

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

bug646968-4.js (262B)


      1 load(libdir + "asserts.js");
      2 
      3 // Scoping: `x` in the head of a `for (let x...)` loop refers to the loop variable.
      4 
      5 assertThrowsInstanceOf(function () {
      6 var s = "", x = {a: 1, b: 2, c: 3};
      7 for (let x in eval('x'))
      8    s += x;
      9 assertEq(s, "");
     10 }, ReferenceError);