Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

continue

The continue statement is used to bypass specified iterations of a loop so that the code in the loop statement does not execute for those iterations, and moves on to the next.

Syntaxcontinue;
for (i = 0; i < 20; i++) { if(i < 10){ continue; } document.write("Pass index "+i+" of the loop <br>"); }

JavaScript

Statements

breakconstcontinuedo whileforfor inif elselabelreturnswitchtry catchvarwhilewith