Reduce context parameter

Peter van der Zee ecma at qfox.nl
Tue Jan 8 01:21:30 PST 2013


On Mon, Jan 7, 2013 at 11:59 PM, Rick Waldron <waldron.rick at gmail.com> 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.)


More information about the es-discuss mailing list