mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:57:35 +00:00
LibJS: Add and use the CreateNonEnumerableDataPropertyOrThrow AO
This commit is contained in:
parent
6da7f43580
commit
6787e86a3a
5 changed files with 67 additions and 59 deletions
|
@ -78,6 +78,7 @@ public:
|
|||
bool create_data_property(PropertyName const&, Value);
|
||||
bool create_method_property(PropertyName const&, Value);
|
||||
bool create_data_property_or_throw(PropertyName const&, Value);
|
||||
bool create_non_enumerable_data_property_or_throw(PropertyName const&, Value);
|
||||
bool define_property_or_throw(PropertyName const&, PropertyDescriptor const&);
|
||||
bool delete_property_or_throw(PropertyName const&);
|
||||
bool has_property(PropertyName const&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue