Dmitry Soshnikov wrote:
On Sat, May 31, 2014 at 1:41 PM, Brendan Eich <bren...@mozilla.org <mailto:bren...@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).

Nicholas kindly filed

https://bugzilla.mozilla.org/show_bug.cgi?id=1018628

to track the SpiderMonkey bug. If you file an Esprima one, could you cite it to the list? Thanks,

/be
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to