⤴️continue

skips to the next iteration of the current/labeled loop.

JSstatementcontrol flow ⟩ continue

(statement) skip to the next iteration of the current / labeled loop.

continue;          // skips to next iteration of current loop
continue label;    // skips to next iteration of labeled loop

continue statement can be used only within the body of a loop, using it anywhere else causes a SyntaxError.

Last updated