@@ -35473,7 +35473,7 @@ <h1>String.prototype.match ( _regexp_ )</h1>
35473
35473
<p>This method performs the following steps when called:</p>
35474
35474
<emu-alg>
35475
35475
1. Let _O_ be ? RequireObjectCoercible(*this* value).
35476
- 1. If _regexp_ is neither *undefined* nor *null* , then
35476
+ 1. If _regexp_ is an Object , then
35477
35477
1. Let _matcher_ be ? GetMethod(_regexp_, %Symbol.match%).
35478
35478
1. If _matcher_ is not *undefined*, then
35479
35479
1. Return ? Call(_matcher_, _regexp_, « _O_ »).
@@ -35493,7 +35493,7 @@ <h1>String.prototype.matchAll ( _regexp_ )</h1>
35493
35493
35494
35494
<emu-alg>
35495
35495
1. Let _O_ be ? RequireObjectCoercible(*this* value).
35496
- 1. If _regexp_ is neither *undefined* nor *null* , then
35496
+ 1. If _regexp_ is an Object , then
35497
35497
1. Let _isRegExp_ be ? IsRegExp(_regexp_).
35498
35498
1. If _isRegExp_ is *true*, then
35499
35499
1. Let _flags_ be ? Get(_regexp_, *"flags"*).
@@ -35634,7 +35634,7 @@ <h1>String.prototype.replace ( _searchValue_, _replaceValue_ )</h1>
35634
35634
<p>This method performs the following steps when called:</p>
35635
35635
<emu-alg>
35636
35636
1. Let _O_ be ? RequireObjectCoercible(*this* value).
35637
- 1. If _searchValue_ is neither *undefined* nor *null* , then
35637
+ 1. If _searchValue_ is an Object , then
35638
35638
1. Let _replacer_ be ? GetMethod(_searchValue_, %Symbol.replace%).
35639
35639
1. If _replacer_ is not *undefined*, then
35640
35640
1. Return ? Call(_replacer_, _searchValue_, « _O_, _replaceValue_ »).
@@ -35747,7 +35747,7 @@ <h1>String.prototype.replaceAll ( _searchValue_, _replaceValue_ )</h1>
35747
35747
<p>This method performs the following steps when called:</p>
35748
35748
<emu-alg>
35749
35749
1. Let _O_ be ? RequireObjectCoercible(*this* value).
35750
- 1. If _searchValue_ is neither *undefined* nor *null* , then
35750
+ 1. If _searchValue_ is an Object , then
35751
35751
1. Let _isRegExp_ be ? IsRegExp(_searchValue_).
35752
35752
1. If _isRegExp_ is *true*, then
35753
35753
1. Let _flags_ be ? Get(_searchValue_, *"flags"*).
@@ -35791,7 +35791,7 @@ <h1>String.prototype.search ( _regexp_ )</h1>
35791
35791
<p>This method performs the following steps when called:</p>
35792
35792
<emu-alg>
35793
35793
1. Let _O_ be ? RequireObjectCoercible(*this* value).
35794
- 1. If _regexp_ is neither *undefined* nor *null* , then
35794
+ 1. If _regexp_ is an Object , then
35795
35795
1. Let _searcher_ be ? GetMethod(_regexp_, %Symbol.search%).
35796
35796
1. If _searcher_ is not *undefined*, then
35797
35797
1. Return ? Call(_searcher_, _regexp_, « _O_ »).
@@ -35834,7 +35834,7 @@ <h1>String.prototype.split ( _separator_, _limit_ )</h1>
35834
35834
<p>It performs the following steps when called:</p>
35835
35835
<emu-alg>
35836
35836
1. Let _O_ be ? RequireObjectCoercible(*this* value).
35837
- 1. If _separator_ is neither *undefined* nor *null* , then
35837
+ 1. If _separator_ is an Object , then
35838
35838
1. Let _splitter_ be ? GetMethod(_separator_, %Symbol.split%).
35839
35839
1. If _splitter_ is not *undefined*, then
35840
35840
1. Return ? Call(_splitter_, _separator_, « _O_, _limit_ »).
0 commit comments