DEV Community

Discussion on: Did you know that JavaScript has had labels since ES3?!?

Collapse
 
dean profile image
dean

Sure, you guys are talking about the worst way... but what about the BEST way?


JavaScript
dance:
for (let i = 0; i < 42; i++) {
    break dance;
}