Break and Continue
JavaScript Break and Continue Statements
While we are talking about loops, JavaScript has two powerful statements that can also be used:break and continue. You will gain an understanding of what each one does in the following examples.