Naming a loop so break/continue can target it.
- Category: JS Control Statements — part of the JavaScript Tutorial on GoCareerGo
- Read the short summary above, then check the linked docs for full syntax/behaviour
- Interview tip: be ready to explain "Labeled Statements" in one sentence, then back it up with a tiny example
// Labeled Statements — minimal example
console.log("Labeled Statements");Tip
Quick recall: "Labeled Statements" — naming a loop so break/continue can target it.