mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:37:36 +00:00
LibJS: Make put_own_property_by_index closer to spec
Most of the code is taken from put_own_property however the attributes need to be handled slightly differently it seems
This commit is contained in:
parent
a770c26d54
commit
733e8472fa
4 changed files with 117 additions and 14 deletions
|
@ -61,6 +61,8 @@ public:
|
|||
bool operator==(const PropertyAttributes& other) const { return m_bits == other.m_bits; }
|
||||
bool operator!=(const PropertyAttributes& other) const { return m_bits != other.m_bits; }
|
||||
|
||||
PropertyAttributes overwrite(PropertyAttributes attr) const;
|
||||
|
||||
u8 bits() const { return m_bits; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue