@@ -34067,7 +34067,7 @@ <h1>String.prototype.match ( _regexp_ )</h1>
34067
34067
<p>This method performs the following steps when called:</p>
34068
34068
<emu-alg>
34069
34069
1. Let _O_ be ? RequireObjectCoercible(*this* value).
34070
- 1. If _regexp_ is neither *undefined* nor *null* , then
34070
+ 1. If _regexp_ is an Object , then
34071
34071
1. Let _matcher_ be ? GetMethod(_regexp_, @@match).
34072
34072
1. If _matcher_ is not *undefined*, then
34073
34073
1. Return ? Call(_matcher_, _regexp_, « _O_ »).
@@ -34087,7 +34087,7 @@ <h1>String.prototype.matchAll ( _regexp_ )</h1>
34087
34087
34088
34088
<emu-alg>
34089
34089
1. Let _O_ be ? RequireObjectCoercible(*this* value).
34090
- 1. If _regexp_ is neither *undefined* nor *null* , then
34090
+ 1. If _regexp_ is an Object , then
34091
34091
1. Let _isRegExp_ be ? IsRegExp(_regexp_).
34092
34092
1. If _isRegExp_ is *true*, then
34093
34093
1. Let _flags_ be ? Get(_regexp_, *"flags"*).
@@ -34210,7 +34210,7 @@ <h1>String.prototype.replace ( _searchValue_, _replaceValue_ )</h1>
34210
34210
<p>This method performs the following steps when called:</p>
34211
34211
<emu-alg>
34212
34212
1. Let _O_ be ? RequireObjectCoercible(*this* value).
34213
- 1. If _searchValue_ is neither *undefined* nor *null* , then
34213
+ 1. If _searchValue_ is an Object , then
34214
34214
1. Let _replacer_ be ? GetMethod(_searchValue_, @@replace).
34215
34215
1. If _replacer_ is not *undefined*, then
34216
34216
1. Return ? Call(_replacer_, _searchValue_, « _O_, _replaceValue_ »).
@@ -34318,7 +34318,7 @@ <h1>String.prototype.replaceAll ( _searchValue_, _replaceValue_ )</h1>
34318
34318
<p>This method performs the following steps when called:</p>
34319
34319
<emu-alg>
34320
34320
1. Let _O_ be ? RequireObjectCoercible(*this* value).
34321
- 1. If _searchValue_ is neither *undefined* nor *null* , then
34321
+ 1. If _searchValue_ is an Object , then
34322
34322
1. Let _isRegExp_ be ? IsRegExp(_searchValue_).
34323
34323
1. If _isRegExp_ is *true*, then
34324
34324
1. Let _flags_ be ? Get(_searchValue_, *"flags"*).
@@ -34362,7 +34362,7 @@ <h1>String.prototype.search ( _regexp_ )</h1>
34362
34362
<p>This method performs the following steps when called:</p>
34363
34363
<emu-alg>
34364
34364
1. Let _O_ be ? RequireObjectCoercible(*this* value).
34365
- 1. If _regexp_ is neither *undefined* nor *null* , then
34365
+ 1. If _regexp_ is an Object , then
34366
34366
1. Let _searcher_ be ? GetMethod(_regexp_, @@search).
34367
34367
1. If _searcher_ is not *undefined*, then
34368
34368
1. Return ? Call(_searcher_, _regexp_, « _O_ »).
@@ -34405,7 +34405,7 @@ <h1>String.prototype.split ( _separator_, _limit_ )</h1>
34405
34405
<p>It performs the following steps when called:</p>
34406
34406
<emu-alg>
34407
34407
1. Let _O_ be ? RequireObjectCoercible(*this* value).
34408
- 1. If _separator_ is neither *undefined* nor *null* , then
34408
+ 1. If _separator_ is an Object , then
34409
34409
1. Let _splitter_ be ? GetMethod(_separator_, @@split).
34410
34410
1. If _splitter_ is not *undefined*, then
34411
34411
1. Return ? Call(_splitter_, _separator_, « _O_, _limit_ »).
0 commit comments