Re:Use labels to break ifs in JavaScript
by rainforest on Wednesday August 07, 2013 @10:44AM
(#6173157)
One debatable potential improvement to your alternative could be to use the `do { } while(false)` idiom - that removes the need to preserve the terminating break (and the chance of it being accidentally removed).
[ Parent
| on HN ]
There are no comments on this comment yet.