continue

In a while loop, jumps back to the condition statement. In a for loop, jumps to the update statement.

Syntax

continue [label];

Example

i = 0;
j = 0;
while (i < 7) {
i++;
if (i == 5)
continue;
j += i;
}

Remarks

Can also be used with a labeled loop statement.