archives

« Bugzilla Issues Index

#2703 — chapter 22: misc editorial


----------------------------------------
In 22.1.1 "The Array Constructor":

{1}
22.1.1 / para 1:
... is an Object with an [[ArrayInitialisationState]] internal slot ...
s|isation|ization|

{2}
22.1.1 / para 1:
... both as factory method and to perform constructor instance initialisation.
s|isation|ization|

----------------------------------------
In 22.1.1.1 "Array ( )":

{3}
22.1.1.1 / step 4:
If Type(/O/) is Object and /O/ has an [[ArrayInitialisationState]] internal
slot and the value of [[ArrayInitialisationState]] is *false*, then
s|isation|ization| (twice)

----------------------------------------
In 22.1.1.2 "Array (len)":

{4}
22.1.1.2 / step 4:
If Type(/O/) is Object and /O/ has an [[ArrayInitialisationState]] internal
slot and the value of [[ArrayInitialisationState]] is *false*, then
s|isation|ization| (twice)

----------------------------------------
In 22.1.1.3 "Array (...items )":

{5}
22.1.1.3 / step 4:
If Type(/O/) is Object and /O/ has an [[ArrayInitialisationState]] internal
slot and the value of [[ArrayInitialisationState]] is *false*, then
s|isation|ization| (twice)

----------------------------------------
In 22.1.2.5 "Array[ @@create ] ( )":

{6}
22.1.2.5 / note 1:
... causes the [[ArrayInitialisationState]] internal slot ...
s|isation|ization|

{7}
22.1.2.5 / note 1:
... that the instance has not yet been initiallized by the Array constructor.
s|initiallized|initialized| (Delete extra "l".)

----------------------------------------
In 22.1.3.13 "Array.prototype.keys ( )":

{8}
22.1.3.13 / step 3:
Return the result CreateArrayIterator(/O/ and "key").
Delete "the result" and change "and" to comma.

----------------------------------------
In 22.1.3.21 "Array.prototype.shift ( )":

{9}
22.1.3.21 / step 7:
Let /first/ be the Get(/O/, "0").
Delete "the"

----------------------------------------
In 22.1.4 "Properties of Array Instances":

{10}
22.1.4 / para 1:
... Array instances also have an [[ArrayInitialisationState]] internal slot.
s|isation|ization|

----------------------------------------
In 22.2.1.2 "%TypedArray% ( typedArray )":

{11}
22.2.1.2 / step 20.j.ii:
Let /status/ be (/data/, /targetByteIndex/, /elementType/, /value/).
Insert "SetValueInBuffer" before left-paren.

----------------------------------------
In 22.2.1.3 "%TypedArray% ( array )":

{12}
22.2.1.3 / step 21:
Note: Side-effects of preceding steps may have already initiallized /O/.
s|initiallized|initialized| (Delete extra "l".)

----------------------------------------
In 22.2.2.2 "%TypedArray%.of ( ...items )":

{13}
22.2.2.2 / note 2:
... However, it does assume that constructor creates and initiallizes
a length property that is initiallized to its argument value.
s|initiallize|initialize| (Delete extra "l".) (twice)

----------------------------------------
In 22.2.3.23 "%TypedArray%.prototype.set(typedArray [ offset ] )":

{14}
22.2.3.23 / header:
%TypedArray%.prototype.set(typedArray [ offset ] )
After "typedArray", insert a comma.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


Rev24 has fixed most of these. Here's what's left:

----------------------------------------
In 22.1.3.13 "Array.prototype.keys ( )":

{8}
22.1.3.13 / step 3:
Return the result CreateArrayIterator(/O/ and "key").
Delete "the result" and change "and" to comma.

----------------------------------------
In 22.1.3.21 "Array.prototype.shift ( )":

{9}
22.1.3.21 / step 7:
Let /first/ be the Get(/O/, "0").
Delete "the"

----------------------------------------
In 22.2.1.2 "%TypedArray% ( typedArray )":

{11}
22.2.1.2 / step 20.j.ii:
Let /status/ be (/data/, /targetByteIndex/, /elementType/, /value/).
Insert "SetValueInBuffer" before left-paren.

XXX


fixed in rev25 editor's draft


confirmed fixed.