tor-browser

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

external-arguments-callee.js (210B)


      1 function foo() {
      2    with ({}) {}
      3    return bar(arguments);
      4 }
      5 
      6 function bar(x) {
      7    assertEq(x.callee.name, "foo");
      8    assertEq(arguments.callee.name, "bar");
      9 }
     10 
     11 for (var i = 0; i < 100; i++) {
     12    foo();
     13 }