Function.length and Default Parameters
brendan at mozilla.org
Fri Oct 12 11:53:26 PDT 2012
Yes, so given the case Kevin raises of default-ful followed by
default-less I agree with Kevin: length should reflect all but rest (if
Allen, what built-ins would this break, do you know from checking what
built-ins break under the current draft's rule?
Domenic Denicola wrote:
> On Oct 12, 2012, at 13:03, "Kevin Smith" <khs4473 at gmail.com
> <mailto:khs4473 at gmail.com>> wrote:
>> 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:
> Oh, wow, thanks for correction. Sorry for the noise everyone X_x. I
> got the opposite impression from other responses in the thread. Will
> be sure to update the @esdiscuss Twitter account.
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss