diff options
Diffstat (limited to 'deps/v8/src/builtins/string-endswith.tq')
-rw-r--r-- | deps/v8/src/builtins/string-endswith.tq | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/builtins/string-endswith.tq b/deps/v8/src/builtins/string-endswith.tq index c3cc7d949b..9590b853e7 100644 --- a/deps/v8/src/builtins/string-endswith.tq +++ b/deps/v8/src/builtins/string-endswith.tq @@ -41,7 +41,7 @@ namespace string { // 3. Let isRegExp be ? IsRegExp(searchString). // 4. If isRegExp is true, throw a TypeError exception. - if (IsRegExp(searchString)) { + if (regexp::IsRegExp(searchString)) { ThrowTypeError(kFirstArgumentNotRegExp, kBuiltinName); } |