diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp b/Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp index 977bf60f60..b5f4afef12 100644 --- a/Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/SymbolConstructor.cpp @@ -24,8 +24,8 @@ void SymbolConstructor::initialize(GlobalObject& global_object) define_direct_property(vm.names.prototype, global_object.symbol_prototype(), 0); u8 attr = Attribute::Writable | Attribute::Configurable; - define_native_function(vm.names.for_, for_, 1, attr); - define_native_function(vm.names.keyFor, key_for, 1, attr); + define_old_native_function(vm.names.for_, for_, 1, attr); + define_old_native_function(vm.names.keyFor, key_for, 1, attr); #define __JS_ENUMERATE(SymbolName, snake_name) \ define_direct_property(vm.names.SymbolName, vm.well_known_symbol_##snake_name(), 0); |