archives

« Bugzilla Issues Index

#2056 — 22.1.2.1 Array.from: Unnecessary call to ToObject()


22.1.2.1 Array.from(), step 13b:

[[Construct]] is restricted to return objects, so the additional call to ToObject() is not needed here. Instead directly assign the result of [[Construct]] to the variable `A`.


fixed in rev20 editor's draft


fixed in rev20 draft, Oct. 28, 2013