tor-browser

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

t002.js (265B)


      1 actual = '';
      2 expected = '54,54,54,';
      3 
      4 function k(a, f_arg, b, c) { 
      5  for (var i = 0; i < 5; ++i) {
      6    f_arg(i + a);
      7  }
      8 }
      9 
     10 function t() {
     11  var x = 1;
     12  k(50, function (i) { x = i; }, 100, 200);
     13  appendToActual(x);
     14 }
     15 
     16 t();
     17 t();
     18 t();
     19 
     20 
     21 assertEq(actual, expected)