Function.length and Default Parameters

Kevin Smith khs4473 at
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
> for a (very) recent discussion of this.

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

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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list