tor-browser

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

args2b.js (211B)


      1 actual = '';
      2 expected = 'g 0,g 1,g 2,g 3,g 4,';
      3 
      4 function g(x) {
      5  appendToActual('g ' + x);
      6 }
      7 
      8 function f() {
      9  g.apply(this, arguments);
     10 }
     11 
     12 for (var i = 0; i < 5; ++i) {
     13  f(i);
     14 }
     15 
     16 
     17 assertEq(actual, expected)