Re:JavaScript Needs Blocks
by pkulak on Wednesday January 11, 2012 @01:22AM
(#3450678)
And something I only realized recently is that you can _still_ get the Java-style return (block-local return) with the "next" keyword. I used it all the time, but just never thought of it like that. You can use "next" in blocks that aren't iterators.
[ Parent
| on HN ]
There are no comments on this comment yet.