Computer Science, asked by branshem934, 11 months ago

What is the best way to break from nested loops in JavaScript?

Answers

Answered by Anonymous
0

When the break statement is used with a switch statement, it breaks out of the switch block. This will stop the execution of more execution of code and/or case testing inside the block. When the break statement is used in a loop, it breaks the loop and continues executing the code after the loop (if any)

Similar questions