JavaScript Tutorial in Hindi for Beginners [Part 12] - Break, Continue and Nested Loop in JavaScript

Tech Gun
Youtube
Related Topic
:- Javascript Web Development

In this video i will talk about Break, Continue and Nested Loop The break statement "jumps out" of a loop. The continue statement "jumps over" one iteration in the loop. The Break Statement You have already seen the break statement used in an earlier chapter of this tutorial. It was used to "jump out" of a switch() statement. The break statement can also be used to jump out of a loop. The continue statement breaks one iteration (in the loop), if a specified condition occurs, and continues with the next iteration in the loop. 

Comments