News for hackers. Stuff that matters.
Re:The best JavaScript guide ever by Tichy on Wednesday October 06, 2010 @01:23PM (#1764864)
Of course, a label! That explains it, thanks! I didn't have a JS reference handy at the time (and couldn't find it in the Mozilla ref in the short amount of time I had).

I have actually used labels in JS before, which resulted in a lot of questions from my colleagues.

I think the loop: for(...){break loop;} thing is acceptable (if for can not be avoided anyway).

There are no comments on this comment yet.