optional "function" keyword

David Herman dherman at mozilla.com
Tue Mar 6 13:51:53 PST 2012

On Mar 6, 2012, at 1:50 PM, Brendan Eich wrote:

> Just replied to Isaac on this. We run into the completion-value leak objection and I do not see a way around it.

One way around it is to question the hazard. :)

Seriously, whether

    {|x| f() }


    (x) { f() }

is more likely to be an accidental leak is an empirical question, and not one I can guess just by looking at the syntax.


More information about the es-discuss mailing list