Exiting or skipping a loop iteration early.
- 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 "break and continue" in one sentence, then back it up with a tiny example
// break and continue — minimal example
console.log("break and continue");Tip
Quick recall: "break and continue" — exiting or skipping a loop iteration early.