Using destructuring for function arguments

Brendan Eich brendan at
Sat May 31 13:41:48 PDT 2014

Matthew Robb wrote:
> Seems like any identifiers in the arguments should always be defined 
> in scope before ever considering what they will be assigned.

Right, and they are in scope no matter what.

Seems to me that an implementation bug (can't have parameter default 
value for destructuring formal) is the only problem brought to light in 
this thread. Anyone see anything else amiss?


More information about the es-discuss mailing list