for own(...) loop (spin-off from Re:, hasOwnProperty(), and inheritance)

Quildreen Motta quildreen at
Wed Nov 9 13:33:25 PST 2011

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?

More information about the es-discuss mailing list