JavaScript Break and Continue

In JavaScript, The break statement is used to jump out of a loop. The continue statement jumps over one iteration in the loop.

Code :