Loop Control Statement in JavaScript
The Break Statement The break statement can be used to jump out of a loop even when the condition is true. The break statement breaks the loop and continues executing all the code after the loop(if any): OUTPUT The number is: 0 The number is: 1 The number is: 2 The number is: 3 The number is: … Read more