archives

« Bugzilla Issues Index

#1276 — 15.4.3.4: Array.from: the mapfn argument is not used


Some piece of the algorithm is missing between steps 11.c.ii and 11.c.iii, namely: kvalue = mapfn.call(thisArg, kValue) unless mapfn is undefined.


(In reply to comment #0)
I wanted to say: between steps 11.d.ii and 11.d.iii, naturally. Also, the phrase introducing the algorithm ("When the from method is called with argument arrayLike, the following steps are taken") should be amended in order to mention the mapfn and thisArg arguments.
> Some piece of the algorithm is missing between steps 11.c.ii and 11.c.iii,
> namely: kvalue = mapfn.call(thisArg, kValue) unless mapfn is undefined.


fixed in rev16 editor's draft


fixed in rev16 draft. July 15, 2013