Expert Developer JavaScript Question:
Download Questions PDF

What is the role of break and continue statements?

Expert JavaScript Developer Interview Question
Expert JavaScript Developer Interview Question

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 Interview Questions And Answers PDF

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?