News for hackers. Stuff that matters.
Re:Use labels to break ifs in JavaScript by mradmin on Wednesday August 07, 2013 @08:04AM (#6172193)
I would probably only use labels for breaking out of nested loops, for example: https://gist.github.com/badsyntax/5317545
Re:Use labels to break ifs in JavaScript by xutopia on Wednesday August 07, 2013 @09:32AM (#6172674)
I've been programming in JS since early 2000 and I've only ever used it to break out of nested loops.