On 09/11/11 19:20, Brendan Eich wrote:
And if you need to break out of forEach, just, umm, don't use
forEach. It's the wrong tool for the job.
Clearly people like the forEach array extra in conjunction with
Object.keys. With block-lambdas they could have their cake and break
from it too (and the call would be paren-free to boot).
That sounds like something to look forward to. Though, did TC39 reach a
consensus on having or not block-lambdas or just a shorter function syntax?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss