How to exit a loop in JavaScript
You can exit from the execution of a loop by using the 'break' keyword.
You can exit from the execution of a loop by using the 'break' keyword.
Learn about all five JavaScript loop types!
Learn how to display content in more detail to a user in a modal window