tor-browser

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

testFunctionStatementNamedArguments.js (176B)


      1 var g;
      2 function foo(b) {
      3    if (b)
      4        function arguments() {};
      5    return arguments;
      6 }
      7 
      8 var a = foo(true);
      9 assertEq(typeof a, "function");
     10 assertEq(a.name, "arguments");