Visit complete JavaScript roadmap

← Back to Topics List

Labeled Statements

JavaScript label statements are used to prefix a label to an identifier. It can be used with break and continue statement to control the flow more precisely.

A label is simply an identifier followed by a colon(:) that is applied to a block of code.

Visit the following resources to learn more:

Roadmaps Guides Videos About YouTube

roadmap.sh by Kamran Ahmed

Community created roadmaps, articles, resources and journeys to help you choose your path and grow in your career.

© roadmap.sh · FAQs · Terms · Privacy