JavaScript Tutorial/Statement/Label
label
The label keyword provides an identifier that can be used with break or continue.
You can associate a block of JavaScript statements with a label.
When a label is called using break or continue, code is executed.
<source lang="javascript">
<html>
<body> <script language="JavaScript"> </script> </body> </html></source>