summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/SetConstructor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/SetConstructor.cpp')
-rw-r--r--Userland/Libraries/LibJS/Runtime/SetConstructor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/SetConstructor.cpp b/Userland/Libraries/LibJS/Runtime/SetConstructor.cpp
index f1d7792c5f..719af0222e 100644
--- a/Userland/Libraries/LibJS/Runtime/SetConstructor.cpp
+++ b/Userland/Libraries/LibJS/Runtime/SetConstructor.cpp
@@ -71,7 +71,7 @@ Value SetConstructor::construct(FunctionObject& new_target)
}
// 24.2.2.2 get Set [ @@species ], https://tc39.es/ecma262/#sec-get-set-@@species
-JS_DEFINE_NATIVE_FUNCTION(SetConstructor::symbol_species_getter)
+JS_DEFINE_OLD_NATIVE_FUNCTION(SetConstructor::symbol_species_getter)
{
return vm.this_value(global_object);
}