testBranchingUnstableLoop.js (199B)
1 function testBranchingUnstableLoop() { 2 var x = 0; 3 for (var i=0; i < 100; ++i) { 4 if (i == 51) { 5 x += 10.1; 6 } 7 x++; 8 } 9 return x; 10 } 11 assertEq(testBranchingUnstableLoop(), 110.1);
tor-browserThe Tor Browser | |
| git clone https://git.dasho.dev/tor-browser.git | |
| Log | Files | Refs | README | LICENSE |