JavaScript Continue Statement

Last Updated Jul 29, 2015, 07:00:14 PM





JavaScript Continue Statement

Javascript continue statement used to terminate the execution of a statement at one step and continues its execution from the next statement


Syntax

Javascript continue statement keeps an optional label to allow the program to move to the next iteration from the current execution. In this case, the continue statement needs to be nested within this labeled statement.


Example
Try It Now

Other JavaScript loop statements you might want to learn

JavaScript while loop

JavaScript do while loop

JavaScript for loop

JavaScript break statement

Practice with out Interactive Editor and take your JavaScript Skills to the next level

Exercise 1 Exercise 2 Exercise 3 Exercise 4 Exercise 5 Exercise 6


Browser compatibility
Feature
Break statement Yes Yes Yes Yes Yes Yes Yes




Sources and Credits

The source of the content has been referred and updated with Mozilla Developer Network and W3C Organization

Last Updated Jul 29, 2015, 07:00:14 PM