Lambda vs. function

Brendan Eich brendan at mozilla.com
Thu Oct 16 15:04:43 PDT 2008


On Oct 16, 2008, at 1:55 PM, Waldemar Horwat wrote:

> var:  Not an issue if you're not using var inside the lambda.  Code  
> generation that wants to use lambda would use var why?
>
> arguments:  Again, not an issue if you're not using the arguments  
> array.  If a code generator is updated for lambda, then presumably  
> it will be updated not to use the arguments array.

Why assume that lambda is only for code generators?

/be


More information about the Es-discuss mailing list