summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Tests/continue-basic.js
blob: a0d59cdeb60ce87752b52fe4f8f1d8cc2ff814c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
try {
    var j = 0;
    for (var i = 0; i < 9; ++i) {
        if (i == 3)
            continue;
        ++j;
    }
    assert(j == 8);
    console.log("PASS");
} catch {
}