Break out of non-loops

liorean liorean at
Sat Oct 28 00:15:06 UTC 2017

The places where break and continue would be most interesting to me in
non-loops would be for dynamic flow control in nested functions or in
callbacks, for example to use in mapping or folding functions, not in
statement context with lexical blocks and labels. Look at Ruby's
next/break/redo/retry for what I mean.
David "liorean" Andersson

More information about the es-discuss mailing list