tor-browser

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

argumentsPassedToBuiltin.js (206B)


      1 // bug 504797
      2 
      3 function f() {
      4  g(arguments, 1);
      5 }
      6 
      7 function g(a, b) {
      8  var s = Array.prototype.slice.call(a, b);
      9  assertEq(s[0] == undefined, false);
     10 }
     11 
     12 for (var i = 0; i < 10; ++i) {
     13  f(1, 2, 3, 4);
     14 }