Statement JavaScript Tutorial

The keyword break exits out of loop structures and switch statement.
When a label is used, JavaScript completely breaks out of the area designated by label.
To label a statement, place the label name followed by a colon (:).
Labels are useful when working with nested loops.