News for hackers. Stuff that matters.
Re:Fuzzysearch: Tiny, fast fuzzy searching for JavaScript by bwaxxlo on Monday July 20, 2015 @06:27AM (#9915056)
I wanted to actually ask the same thing! I knew of continue but I never encountered such a scenario. It's a poor man's generator.
Re:Fuzzysearch: Tiny, fast fuzzy searching for JavaScript by arcatek on Monday July 20, 2015 @07:25AM (#9915244)
In other languages (such as PHP), the same thing can sometimes be achieved by using "break N" / "continue N", where N is the number of loop you wish to break/continue.
Re:Fuzzysearch: Tiny, fast fuzzy searching for JavaScript by mgkimsal on Monday July 20, 2015 @09:39AM (#9915927)
Specifically in PHP, though, you can't (anymore) break a variable value.

break $n;

isn't valid since PHP 5.4