summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Tests/loops/continue-basic.js
blob: 765a9ead189ce334853145c7dc2b683481b42bc6 (plain)
1
2
3
4
5
6
7
8
9
10
test("basic functionality", () => {
    var j = 0;
    for (var i = 0; i < 9; ++i) {
        if (i == 3) {
            continue;
        }
        ++j;
    }
    expect(j).toBe(8);
});