boa
boa copied to clipboard
Invert property attributes
Currently we have the Attribute
which by default is READONLY
, NON_ENUMERABLE
and PERMANENT
. Which means when we create a for example a data descriptor with only Attribute::READONLY
(DataDescriptor::new(value, Attribute::READONLY)
), One would expect it to be READONLY
, ENUMBERABLE
and CONFIGURABLE
, but in reality it is READONLY
, NON_ENUMERABLE
and PERMANENT
which is counter intuitive.
This is similar to what V8 does.
@HalidOdat any news on this? Do you want me to un-assign it from you?
@HalidOdat any news on this? Do you want me to un-assign it from you?
Maybe after #1373 I can start working on this, but until then I'll un-assign myself, if anyone wants to claim it.