archives

« Bugzilla Issues Index

#3709 — 22.1.1.1-3 Array: Unreachable steps


22.1.1.1 Array ( )

The following steps are no longer reachable after the constructor reform.

- step 7 (array is already initialized with length = 0 in ArrayCreate)
- step 8 (array has an own writable "length" property)

[Steps 6-9 can be simplified to: "6. Return ArrayCreate(0, proto)" ]


22.1.1.2 Array (len)

The following steps are no longer reachable after the constructor reform.

- step 7.b (array has no own "0" property and array is extensible)
- step 10 (array has an own writable "length" property, intLen is a valid array length value)


22.1.1.3 Array (...items )

The following steps are no longer reachable after the constructor reform.

- step 10.d (array has no own `Pk` property and array is extensible, `k` is < 2^32-1)
- step 11 (array is already initialized with length = numberOfArgs in ArrayCreate)
- step 12 (array has an own writable "length" property, numberOfArgs is a valid array length value)


fixed in rev32 editor's draft


fixed in rev32 draft