tor-browser

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

testClosedVarInExtensibleScope.js (232B)


      1 function runTest() {
      2  if (Math) {
      3    function createTester(options) {
      4      return function() {
      5        return options.blah;
      6      };
      7    }
      8 
      9    return createTester({blah:"bar"});
     10  }
     11 }
     12 
     13 assertEq(runTest()(), "bar");