comparison: js/src/jit-test/tests/basic/testWhileWithContinue.js
js/src/jit-test/tests/basic/testWhileWithContinue.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 // Test using 'while' with 'continue' -- the most ancient, the most powerful, |
|
2 // the most rare of all coding incantations. |
|
3 |
|
4 var i = 0; |
|
5 while (i < 12) { |
|
6 ++i; |
|
7 continue; |
|
8 } |
|
9 assertEq(i, 12); |
|
10 |