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