DEVFYI - Developer Resource - FYI

What does break and continue statements do?

JavaScript Interview Questions and Answers


(Continued from previous question...)

109. What does break and continue statements do?

Continue statement continues the current loop (if label not specified) in a new iteration whereas break statement exits the current loop.

(Continued on next question...)

Other Interview Questions