tor-browser

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

t033.js (221B)


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