ladybird/Userland/Libraries/LibJS/Tests/loops/continue-basic.js
2021-01-12 12:17:46 +01:00

10 lines
185 B
JavaScript

test("basic functionality", () => {
var j = 0;
for (var i = 0; i < 9; ++i) {
if (i == 3) {
continue;
}
++j;
}
expect(j).toBe(8);
});