boa icon indicating copy to clipboard operation
boa copied to clipboard

Invert property attributes

Open HalidOdat opened this issue 3 years ago • 2 comments

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 avatar Jul 22 '21 14:07 HalidOdat

@HalidOdat any news on this? Do you want me to un-assign it from you?

Razican avatar Jan 31 '22 10:01 Razican

@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.

HalidOdat avatar Feb 03 '22 09:02 HalidOdat