Function.length and Default Parameters

Kevin Smith khs4473 at gmail.com
Fri Oct 12 09:49:32 PDT 2012


> You seem to be under the mistaken impression that ES6 allows non-defaulted
> arguments after default ones. This is not the case. See
>
> https://mail.mozilla.org/pipermail/es-discuss/2012-October/025704.html
>
> for a (very) recent discussion of this.
>

I don't think that is true.  See Allen's response here:

https://mail.mozilla.org/pipermail/es-discuss/2012-October/025709.html

Also, I see no evidence in the latest draft that defaults after a
non-default is a static error.  Please correct me if I'm wrong, of course!

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121012/c18a33c3/attachment.html>


More information about the es-discuss mailing list