Basic JavaScript Question:
Download Job Interview Questions and Answers PDF
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.
Download JavaScript Interview Questions And Answers
PDF
Previous Question | Next Question |
What is eval() in JavaScript? | How to create a function using function constructor? |