Expert Developer JavaScript Question: Download Expert JavaScript Developer PDF

What is the role of break and continue statements?

Tweet Share WhatsApp

Answer:

Break statement is used to come out of the current loop while the continue statement continues the current loop with a new recurrence.

Download Expert JavaScript Developer PDF Read All 150 Expert JavaScript Developer Questions
Previous QuestionNext Question
What are all the types of Pop up boxes available in JavaScript?How do I add a JavaScript event handler to an HTML page element?