mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
LibJS: Convert delete_property_or_throw() to ThrowCompletionOr
This commit is contained in:
parent
fe86b04b42
commit
a29b7a3ec7
4 changed files with 19 additions and 48 deletions
|
@ -82,7 +82,7 @@ public:
|
|||
ThrowCompletionOr<bool> create_data_property_or_throw(PropertyName const&, Value);
|
||||
ThrowCompletionOr<bool> create_non_enumerable_data_property_or_throw(PropertyName const&, Value);
|
||||
ThrowCompletionOr<bool> define_property_or_throw(PropertyName const&, PropertyDescriptor const&);
|
||||
bool delete_property_or_throw(PropertyName const&);
|
||||
ThrowCompletionOr<bool> delete_property_or_throw(PropertyName const&);
|
||||
bool has_property(PropertyName const&) const;
|
||||
bool has_own_property(PropertyName const&) const;
|
||||
bool set_integrity_level(IntegrityLevel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue