projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
jit-test
/
tests
/
basic
/
testBranchingUnstableLoopCounter.js
1
function testBranchingUnstableLoopCounter() {
2
var x = 0;
3
for (var i=0; i < 100; ++i) {
4
if (i == 51) {
5
i += 1.1;
6
}
7
x++;
8
}
9
return x;
10
}
11
assertEq(testBranchingUnstableLoopCounter(), 99);