Basic JavaScript Question:
Download Questions PDF

What does break and continue statements do in JavaScript?


Continue statement continues the current loop (if label not specified) in a new iteration whereas break statement exits the current loop in JavaScript.

Download JavaScript Interview Questions And Answers PDF

Previous QuestionNext Question
What is eval() in JavaScript?How to create a function using function constructor?