Basic JavaScript Question:
What does break and continue statements do in JavaScript?
Answer:
Continue statement continues the current loop (if label not specified) in a new iteration whereas break statement exits the current loop in JavaScript.
Previous Question | Next Question |
What is eval() in JavaScript? | How to create a function using function constructor? |