diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/SetConstructor.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/SetConstructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/SetConstructor.cpp b/Userland/Libraries/LibJS/Runtime/SetConstructor.cpp index 2a3b9c2af2..3ddae1ca65 100644 --- a/Userland/Libraries/LibJS/Runtime/SetConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/SetConstructor.cpp @@ -24,7 +24,7 @@ void SetConstructor::initialize(GlobalObject& global_object) define_property(vm.names.prototype, global_object.set_prototype(), 0); define_property(vm.names.length, Value(0), Attribute::Configurable); - define_native_property(vm.well_known_symbol_species(), symbol_species_getter, {}, Attribute::Configurable); + define_native_accessor(vm.well_known_symbol_species(), symbol_species_getter, {}, Attribute::Configurable); } SetConstructor::~SetConstructor() |