diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/RegExpConstructor.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/RegExpConstructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/RegExpConstructor.cpp b/Userland/Libraries/LibJS/Runtime/RegExpConstructor.cpp index 02861b2017..34afe2faa1 100644 --- a/Userland/Libraries/LibJS/Runtime/RegExpConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/RegExpConstructor.cpp @@ -92,7 +92,7 @@ Value RegExpConstructor::construct(FunctionObject&) } // 22.2.4.2 get RegExp [ @@species ], https://tc39.es/ecma262/#sec-get-regexp-@@species -JS_DEFINE_NATIVE_FUNCTION(RegExpConstructor::symbol_species_getter) +JS_DEFINE_OLD_NATIVE_FUNCTION(RegExpConstructor::symbol_species_getter) { return vm.this_value(global_object); } |