@@ -33992,7 +33992,7 @@ <h1>String.prototype.match ( _regexp_ )</h1>
33992
33992
<p>This method performs the following steps when called:</p>
33993
33993
<emu-alg>
33994
33994
1. Let _O_ be ? RequireObjectCoercible(*this* value).
33995
- 1. If _regexp_ is neither *undefined* nor *null* , then
33995
+ 1. If _regexp_ is an Object , then
33996
33996
1. Let _matcher_ be ? GetMethod(_regexp_, @@match).
33997
33997
1. If _matcher_ is not *undefined*, then
33998
33998
1. Return ? Call(_matcher_, _regexp_, « _O_ »).
@@ -34012,7 +34012,7 @@ <h1>String.prototype.matchAll ( _regexp_ )</h1>
34012
34012
34013
34013
<emu-alg>
34014
34014
1. Let _O_ be ? RequireObjectCoercible(*this* value).
34015
- 1. If _regexp_ is neither *undefined* nor *null* , then
34015
+ 1. If _regexp_ is an Object , then
34016
34016
1. Let _isRegExp_ be ? IsRegExp(_regexp_).
34017
34017
1. If _isRegExp_ is *true*, then
34018
34018
1. Let _flags_ be ? Get(_regexp_, *"flags"*).
@@ -34135,7 +34135,7 @@ <h1>String.prototype.replace ( _searchValue_, _replaceValue_ )</h1>
34135
34135
<p>This method performs the following steps when called:</p>
34136
34136
<emu-alg>
34137
34137
1. Let _O_ be ? RequireObjectCoercible(*this* value).
34138
- 1. If _searchValue_ is neither *undefined* nor *null* , then
34138
+ 1. If _searchValue_ is an Object , then
34139
34139
1. Let _replacer_ be ? GetMethod(_searchValue_, @@replace).
34140
34140
1. If _replacer_ is not *undefined*, then
34141
34141
1. Return ? Call(_replacer_, _searchValue_, « _O_, _replaceValue_ »).
@@ -34243,7 +34243,7 @@ <h1>String.prototype.replaceAll ( _searchValue_, _replaceValue_ )</h1>
34243
34243
<p>This method performs the following steps when called:</p>
34244
34244
<emu-alg>
34245
34245
1. Let _O_ be ? RequireObjectCoercible(*this* value).
34246
- 1. If _searchValue_ is neither *undefined* nor *null* , then
34246
+ 1. If _searchValue_ is an Object , then
34247
34247
1. Let _isRegExp_ be ? IsRegExp(_searchValue_).
34248
34248
1. If _isRegExp_ is *true*, then
34249
34249
1. Let _flags_ be ? Get(_searchValue_, *"flags"*).
@@ -34287,7 +34287,7 @@ <h1>String.prototype.search ( _regexp_ )</h1>
34287
34287
<p>This method performs the following steps when called:</p>
34288
34288
<emu-alg>
34289
34289
1. Let _O_ be ? RequireObjectCoercible(*this* value).
34290
- 1. If _regexp_ is neither *undefined* nor *null* , then
34290
+ 1. If _regexp_ is an Object , then
34291
34291
1. Let _searcher_ be ? GetMethod(_regexp_, @@search).
34292
34292
1. If _searcher_ is not *undefined*, then
34293
34293
1. Return ? Call(_searcher_, _regexp_, « _O_ »).
@@ -34330,7 +34330,7 @@ <h1>String.prototype.split ( _separator_, _limit_ )</h1>
34330
34330
<p>It performs the following steps when called:</p>
34331
34331
<emu-alg>
34332
34332
1. Let _O_ be ? RequireObjectCoercible(*this* value).
34333
- 1. If _separator_ is neither *undefined* nor *null* , then
34333
+ 1. If _separator_ is an Object , then
34334
34334
1. Let _splitter_ be ? GetMethod(_separator_, @@split).
34335
34335
1. If _splitter_ is not *undefined*, then
34336
34336
1. Return ? Call(_splitter_, _separator_, « _O_, _limit_ »).
0 commit comments