@@ -39,9 +39,26 @@ urlPrefix: https://tc39.es/ecma262/; spec: ECMASCRIPT
39
39
text: the current Realm; url: #current-realm
40
40
text: the typed array constructors table; url: #table-49
41
41
text: typed array; url: #sec-typedarray-objects
42
+ url: sec-ecmascript-language-types-bigint-type
43
+ text: is a BigInt
44
+ text: is not a BigInt
45
+ url: sec-ecmascript-language-types-boolean-type
46
+ text: is a Boolean
47
+ text: is not a Boolean
48
+ url: sec-ecmascript-language-types-number-type
49
+ text: is a Number
50
+ text: is not a Number
51
+ url: sec-ecmascript-language-types-string-type
52
+ text: is a String
53
+ text: is not a String
54
+ url: sec-ecmascript-language-types-symbol-type
55
+ text: is a Symbol
56
+ text: is not a Symbol
57
+ url: sec-object-type
58
+ text: is an Object
59
+ text: is not an Object
42
60
type: abstract-op
43
61
text: IsInteger; url: #sec-isinteger
44
- text: Type; url: #sec-ecmascript-data-types-and-values
45
62
text: TypeError; url: #sec-native-error-types-used-in-this-standard-typeerror; type: exception
46
63
text: map; url: #sec-array.prototype.map; type: method; for: Array.prototype
47
64
</pre>
@@ -2160,7 +2177,7 @@ The following abstract operations operate on {{ReadableStream}} instances at a h
2160
2177
1. Let |nextPromise| be [=a promise resolved with=] |nextResult|.\[[Value]] .
2161
2178
1. Return the result of [=reacting=] to |nextPromise| with the following fulfillment steps,
2162
2179
given |iterResult|:
2163
- 1. If [$Type$] ( |iterResult|) is not Object, throw a {{TypeError}} .
2180
+ 1. If |iterResult| [= is not an Object=] , throw a {{TypeError}} .
2164
2181
1. Let |done| be ? [$IteratorComplete$] (|iterResult|).
2165
2182
1. If |done| is true:
2166
2183
1. Perform ! [$ReadableStreamDefaultControllerClose$] (|stream|.[=ReadableStream/[[controller]]=] ).
@@ -2182,7 +2199,7 @@ The following abstract operations operate on {{ReadableStream}} instances at a h
2182
2199
1. Let |returnPromise| be [=a promise resolved with=] |returnResult|.\[[Value]] .
2183
2200
1. Return the result of [=reacting=] to |returnPromise| with the following fulfillment steps,
2184
2201
given |iterResult|:
2185
- 1. If [$Type$] ( |iterResult|) is not Object, throw a {{TypeError}} .
2202
+ 1. If |iterResult| [= is not an Object=] , throw a {{TypeError}} .
2186
2203
1. Return undefined.
2187
2204
1. Set |stream| to ! [$CreateReadableStream$] (|startAlgorithm|, |pullAlgorithm|, |cancelAlgorithm|,
2188
2205
0).
@@ -6673,10 +6690,10 @@ abstract operations are used to implement these "cross-realm transforms".
6673
6690
1. Let |controller| be a [=new=] {{ReadableStreamDefaultController}} .
6674
6691
1. Add a handler for |port|'s {{MessagePort/message}} event with the following steps:
6675
6692
1. Let |data| be the data of the message.
6676
- 1. Assert: [$Type$] ( |data|) is Object.
6693
+ 1. Assert: |data| [= is an Object=] .
6677
6694
1. Let |type| be ! [$Get$] (|data|, "`type`").
6678
6695
1. Let |value| be ! [$Get$] (|data|, "`value`").
6679
- 1. Assert: [$Type$] ( |type|) is String.
6696
+ 1. Assert: |type| [= is a String=] .
6680
6697
1. If |type| is "`chunk`",
6681
6698
1. Perform ! [$ReadableStreamDefaultControllerEnqueue$] (|controller|, |value|).
6682
6699
1. Otherwise, if |type| is "`close`",
@@ -6718,10 +6735,10 @@ abstract operations are used to implement these "cross-realm transforms".
6718
6735
1. Let |backpressurePromise| be [=a new promise=] .
6719
6736
1. Add a handler for |port|'s {{MessagePort/message}} event with the following steps:
6720
6737
1. Let |data| be the data of the message.
6721
- 1. Assert: [$Type$] ( |data|) is Object.
6738
+ 1. Assert: |data| [= is an Object=] .
6722
6739
1. Let |type| be ! [$Get$] (|data|, "`type`").
6723
6740
1. Let |value| be ! [$Get$] (|data|, "`value`").
6724
- 1. Assert: [$Type$] ( |type|) is String.
6741
+ 1. Assert: |type| [= is a String=] .
6725
6742
1. If |type| is "`pull`",
6726
6743
1. If |backpressurePromise| is not undefined,
6727
6744
1. [=Resolve=] |backpressurePromise| with undefined.
@@ -6775,7 +6792,7 @@ The following abstract operations are a grab-bag of utilities.
6775
6792
<dfn abstract-op lt="CanTransferArrayBuffer"
6776
6793
id="can-transfer-array-buffer"> CanTransferArrayBuffer(|O|)</dfn> performs the following steps:
6777
6794
6778
- 1. Assert: [$Type$] ( |O|) is Object.
6795
+ 1. Assert: |O| [= is an Object=] .
6779
6796
1. Assert: |O| has an \[[ArrayBufferData]] internal slot.
6780
6797
1. If ! [$IsDetachedBuffer$] (|O|) is true, return false.
6781
6798
1. If [$SameValue$] (|O|.\[[ArrayBufferDetachKey]] , undefined) is false, return false.
@@ -6786,7 +6803,7 @@ The following abstract operations are a grab-bag of utilities.
6786
6803
<dfn abstract-op lt="IsNonNegativeNumber"
6787
6804
id="is-non-negative-number"> IsNonNegativeNumber(|v|)</dfn> performs the following steps:
6788
6805
6789
- 1. If [$Type$] ( |v|) is not Number, return false.
6806
+ 1. If |v| [= is not a Number=] , return false.
6790
6807
1. If |v| is NaN, return false.
6791
6808
1. If |v| < 0, return false.
6792
6809
1. Return true.
@@ -6811,7 +6828,7 @@ The following abstract operations are a grab-bag of utilities.
6811
6828
<div algorithm>
6812
6829
<dfn abstract-op lt="CloneAsUint8Array">CloneAsUint8Array(|O|)</dfn> performs the following steps:
6813
6830
6814
- 1. Assert: [$Type$] ( |O|) is Object.
6831
+ 1. Assert: |O| [= is an Object=] .
6815
6832
1. Assert: |O| has an \[[ViewedArrayBuffer]] internal slot.
6816
6833
1. Assert: ! [$IsDetachedBuffer$] (|O|.\[[ViewedArrayBuffer]] ) is false.
6817
6834
1. Let |buffer| be ? [$CloneArrayBuffer$] (|O|.\[[ViewedArrayBuffer]] , |O|.\[[ByteOffset]] ,
0 commit comments