Core JavaScript

Intermediate JavaScript

JavaScript Reference

JavaScript Break Loop Example




In JavaScript break statement is used to terminate or break a loop(for, while) and switch statement for specify initial value. means loop not countinue the end of text condition.

Example-Code:

Example-Results: