As I said: 'undefined' and 'not provided' have a complex relationship in the ES spec. The ship has sailed, but the turd is the shiniest turd you've ever seen.
On Tuesday, January 8, 2013, Peter van der Zee wrote: > On Mon, Jan 7, 2013 at 11:59 PM, Rick Waldron > <[email protected]<javascript:;>> > wrote: > > The initialVal argument is _optional_ and undefined is valid — how would > you > > decide if what was passed should be initial value or thisArg? > > I see. Well, ship has sailed. Thanks. > > - peter > > ...(Could have specced the context parameter to be second, to be > ignored if undefined, and the accumulator third.) > _______________________________________________ > es-discuss mailing list > [email protected] <javascript:;> > https://mail.mozilla.org/listinfo/es-discuss >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

