@@ -4411,13 +4411,12 @@ <h1>The Property Descriptor Specification Type</h1>
4411
4411
<emu-clause id="sec-isaccessordescriptor" type="abstract operation">
4412
4412
<h1>
4413
4413
IsAccessorDescriptor (
4414
- _Desc_: a Property Descriptor or *undefined* ,
4414
+ _Desc_: a Property Descriptor,
4415
4415
): a Boolean
4416
4416
</h1>
4417
4417
<dl class="header">
4418
4418
</dl>
4419
4419
<emu-alg>
4420
- 1. If _Desc_ is *undefined*, return *false*.
4421
4420
1. If _Desc_ has a [[Get]] field, return *true*.
4422
4421
1. If _Desc_ has a [[Set]] field, return *true*.
4423
4422
1. Return *false*.
@@ -4427,13 +4426,12 @@ <h1>
4427
4426
<emu-clause id="sec-isdatadescriptor" type="abstract operation">
4428
4427
<h1>
4429
4428
IsDataDescriptor (
4430
- _Desc_: a Property Descriptor or *undefined* ,
4429
+ _Desc_: a Property Descriptor,
4431
4430
): a Boolean
4432
4431
</h1>
4433
4432
<dl class="header">
4434
4433
</dl>
4435
4434
<emu-alg>
4436
- 1. If _Desc_ is *undefined*, return *false*.
4437
4435
1. If _Desc_ has a [[Value]] field, return *true*.
4438
4436
1. If _Desc_ has a [[Writable]] field, return *true*.
4439
4437
1. Return *false*.
@@ -4443,13 +4441,12 @@ <h1>
4443
4441
<emu-clause id="sec-isgenericdescriptor" type="abstract operation">
4444
4442
<h1>
4445
4443
IsGenericDescriptor (
4446
- _Desc_: a Property Descriptor or *undefined* ,
4444
+ _Desc_: a Property Descriptor,
4447
4445
): a Boolean
4448
4446
</h1>
4449
4447
<dl class="header">
4450
4448
</dl>
4451
4449
<emu-alg>
4452
- 1. If _Desc_ is *undefined*, return *false*.
4453
4450
1. If IsAccessorDescriptor(_Desc_) is *true*, return *false*.
4454
4451
1. If IsDataDescriptor(_Desc_) is *true*, return *false*.
4455
4452
1. Return *true*.
@@ -14079,6 +14076,7 @@ <h1>
14079
14076
1. Return ? ArraySetLength(_A_, _Desc_).
14080
14077
1. Else if _P_ is an array index, then
14081
14078
1. Let _lengthDesc_ be OrdinaryGetOwnProperty(_A_, *"length"*).
14079
+ 1. Assert: _lengthDesc_ is not *undefined*.
14082
14080
1. Assert: IsDataDescriptor(_lengthDesc_) is *true*.
14083
14081
1. Assert: _lengthDesc_.[[Configurable]] is *false*.
14084
14082
1. Let _length_ be _lengthDesc_.[[Value]].
@@ -14168,6 +14166,7 @@ <h1>
14168
14166
1. If SameValueZero(_newLen_, _numberLen_) is *false*, throw a *RangeError* exception.
14169
14167
1. Set _newLenDesc_.[[Value]] to _newLen_.
14170
14168
1. Let _oldLenDesc_ be OrdinaryGetOwnProperty(_A_, *"length"*).
14169
+ 1. Assert: _oldLenDesc_ is not *undefined*.
14171
14170
1. Assert: IsDataDescriptor(_oldLenDesc_) is *true*.
14172
14171
1. Assert: _oldLenDesc_.[[Configurable]] is *false*.
14173
14172
1. Let _oldLen_ be _oldLenDesc_.[[Value]].
0 commit comments