Block Lambdas: break and continue

Brendan Eich brendan at mozilla.org
Tue Jan 17 18:24:03 PST 2012


> Grant Husbands <mailto:esdiscuss at grant.x43.net>
> January 17, 2012 10:14 AM
>
> I think others might have better answers, but it seems that the
> meaning of 'break' is to stop the whole statement, and the meaning of
> 'continue' is to skip the inner block and hence return to
> arr.alternate

That's what I was thinking too.

/be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120117/93a0cf65/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120117/93a0cf65/attachment-0001.jpg>


More information about the es-discuss mailing list