Clarification on function default param values

Brandon Benvie bbenvie at mozilla.com
Mon Sep 30 21:28:55 PDT 2013


On 9/30/2013 8:57 PM, Brendan Eich wrote:
> Easy: arguments is an early error in the body of an arrow.

Ok cool, that simplifies my previous examples a bit then. Instead of 
using `call` and specifying the name of each argument, you can just use 
`.apply(this, arguments)`.


More information about the es-discuss mailing list