Using destructuring for function arguments
dmitry.soshnikov at gmail.com
Sat May 31 14:21:13 PDT 2014
On Sat, May 31, 2014 at 1:41 PM, Brendan Eich <brendan at mozilla.org> wrote:
> 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?
No, seems it's the only problem. Also, just to add: esprima parser also has
this bug yet (can't have param default value with patterns).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss