tor-browser

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

testThinLoopDemote.js (238B)


      1 function testThinLoopDemote() {
      2    function f()
      3    {
      4        var k = 1;
      5        for (var n = 0; n < 4; n++) {
      6            k = (k * 10);
      7        }
      8        return k;
      9    }
     10    f();
     11    return f();
     12 }
     13 assertEq(testThinLoopDemote(), 10000);