logoalt Hacker News

morcusyesterday at 6:35 PM1 replyview on HN

Wow, I had no idea JavaScript has labeled break! Thanks for the comment.


Replies

jacquesmyesterday at 11:12 PM

It's a terrible feature, really. If you need a labeled break what you really need is more decomposition. I'm pretty sure that Dijkstra would have written a nice article about it, alas, he is no longer with us.

show 3 replies