tor-browser

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

bug1689880-1.js (440B)


      1 // |jit-test| error: ReferenceError
      2 
      3 // We elide the uninitialised lexical check for the second access to |x|,
      4 // because we statically know that the first access will throw an error.
      5 // `!x` is compiled straight from bytecode without going through any ICs, so
      6 // already on first (eager) compilation we may be Warp compiling.
      7 
      8 function testNot(x = (x, !x)) {
      9    function inner() {
     10        // Close over |x|.
     11        x;
     12    }
     13 }
     14 testNot();