Expert Developer JavaScript Question: Download Expert JavaScript Developer PDF
What is the role of break and continue statements?
Answer:
Break statement is used to come out of the current loop while the continue statement continues the current loop with a new recurrence.
Previous Question | Next 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? |