tor-browser

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

t003.js (281B)


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