@@ -35649,7 +35649,7 @@ <h1>String.prototype.match ( _regexp_ )</h1>
3564935649 <emu-alg>
3565035650 1. Let _O_ be the *this* value.
3565135651 1. Perform ? RequireObjectCoercible(_O_).
35652- 1. If _regexp_ is neither *undefined* nor *null* , then
35652+ 1. If _regexp_ is an Object , then
3565335653 1. Let _matcher_ be ? GetMethod(_regexp_, %Symbol.match%).
3565435654 1. If _matcher_ is not *undefined*, then
3565535655 1. Return ? Call(_matcher_, _regexp_, « _O_ »).
@@ -35670,7 +35670,7 @@ <h1>String.prototype.matchAll ( _regexp_ )</h1>
3567035670 <emu-alg>
3567135671 1. Let _O_ be the *this* value.
3567235672 1. Perform ? RequireObjectCoercible(_O_).
35673- 1. If _regexp_ is neither *undefined* nor *null* , then
35673+ 1. If _regexp_ is an Object , then
3567435674 1. Let _isRegExp_ be ? IsRegExp(_regexp_).
3567535675 1. If _isRegExp_ is *true*, then
3567635676 1. Let _flags_ be ? Get(_regexp_, *"flags"*).
@@ -35816,7 +35816,7 @@ <h1>String.prototype.replace ( _searchValue_, _replaceValue_ )</h1>
3581635816 <emu-alg>
3581735817 1. Let _O_ be the *this* value.
3581835818 1. Perform ? RequireObjectCoercible(_O_).
35819- 1. If _searchValue_ is neither *undefined* nor *null* , then
35819+ 1. If _searchValue_ is an Object , then
3582035820 1. Let _replacer_ be ? GetMethod(_searchValue_, %Symbol.replace%).
3582135821 1. If _replacer_ is not *undefined*, then
3582235822 1. Return ? Call(_replacer_, _searchValue_, « _O_, _replaceValue_ »).
@@ -35930,7 +35930,7 @@ <h1>String.prototype.replaceAll ( _searchValue_, _replaceValue_ )</h1>
3593035930 <emu-alg>
3593135931 1. Let _O_ be the *this* value.
3593235932 1. Perform ? RequireObjectCoercible(_O_).
35933- 1. If _searchValue_ is neither *undefined* nor *null* , then
35933+ 1. If _searchValue_ is an Object , then
3593435934 1. Let _isRegExp_ be ? IsRegExp(_searchValue_).
3593535935 1. If _isRegExp_ is *true*, then
3593635936 1. Let _flags_ be ? Get(_searchValue_, *"flags"*).
@@ -35975,7 +35975,7 @@ <h1>String.prototype.search ( _regexp_ )</h1>
3597535975 <emu-alg>
3597635976 1. Let _O_ be the *this* value.
3597735977 1. Perform ? RequireObjectCoercible(_O_).
35978- 1. If _regexp_ is neither *undefined* nor *null* , then
35978+ 1. If _regexp_ is an Object , then
3597935979 1. Let _searcher_ be ? GetMethod(_regexp_, %Symbol.search%).
3598035980 1. If _searcher_ is not *undefined*, then
3598135981 1. Return ? Call(_searcher_, _regexp_, « _O_ »).
@@ -36020,7 +36020,7 @@ <h1>String.prototype.split ( _separator_, _limit_ )</h1>
3602036020 <emu-alg>
3602136021 1. Let _O_ be the *this* value.
3602236022 1. Perform ? RequireObjectCoercible(_O_).
36023- 1. If _separator_ is neither *undefined* nor *null* , then
36023+ 1. If _separator_ is an Object , then
3602436024 1. Let _splitter_ be ? GetMethod(_separator_, %Symbol.split%).
3602536025 1. If _splitter_ is not *undefined*, then
3602636026 1. Return ? Call(_splitter_, _separator_, « _O_, _limit_ »).
0 commit comments