archives

« Bugzilla Issues Index

#1831 — 15.4.2.{3,4} : "A" not defined


In 15.4.2.3 "Array.of ( ...items )",
step 6 says:
ReturnIfAbrupt(A).
but at that point, 'A' might not be defined.

My guess is that a step is missing:
4.b Let /A/ be ToObject(/newObj/).


Similarly:

In 15.4.2.4 "Array.from (...)",
step 8.e says:
ReturnIfAbrupt(A).
but 'A' might not be defined.

Add
8.c.ii Let /A/ be ToObject(/newObj/).


fixed in rev19 editor's draft

in line 4.a, set A insteat od newObj


fixed in rev19