label statement in javascript

label statement in javascript

label statements are to used to set an identifier for the set of statements or a statement.

continue and break statements are used with the label statement.

Example

Try Yourself