Next

The next statement skips one iteration of a loop.

for (var i = 0; i <= 5; i++) {
    if (i == 3) { next }
    say i
}

It can be used in all kinds of loops.

Last updated