summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/outerline.js
blob: 8056864082e3eb9b8c495a765a525fd596da975d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function outerline(){
    var i=0;
    var j=0;

    for (i = 3; i<= 100000; i+=2)
    {
        for (j = 3; j < 1000; j+=2)
        {
            if ((i & 1) == 1)
                break;
        }
    }
    return "ok";
}
assertEq(outerline(), "ok");