Previous Topic: The switch StatementNext Topic: The while loop Statement


Iterative Statements

JavaScript has several iterative loop statements, a continue statement, and a break statement. The while and do-while loops perform one or more statements as long as some condition is True. The for and for loops perform one or more statements a specified number of times. The break statement exits an iterative statement. The continue statement restarts a loop in a new iteration.