mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibJS: Expose Symbol.species properties as getters
As required by the specification.
This commit is contained in:
parent
7f6d3818a2
commit
a1f5357ad3
6 changed files with 6 additions and 6 deletions
|
@ -38,7 +38,7 @@ void ArrayConstructor::initialize(GlobalObject& global_object)
|
|||
define_native_function(vm.names.isArray, is_array, 1, attr);
|
||||
define_native_function(vm.names.of, of, 0, attr);
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
Value ArrayConstructor::call()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue