tor-browser

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

args6.js (246B)


      1 actual = '';
      2 expected = '6,';
      3 
      4 // tracing length
      5 
      6 var g = 0;
      7 
      8 function h(args) {
      9  g = args.length;
     10 }
     11 
     12 function f() {
     13  h(arguments);
     14 }
     15 
     16 for (var i = 0; i < 5; ++i) {
     17  f(10, 20, 30, 40, 50, 60);
     18 }
     19 appendToActual(g);
     20 
     21 
     22 assertEq(actual, expected)