mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:17:45 +00:00
LibJS: Convert create_data_property() to ThrowCompletionOr
This commit is contained in:
parent
1d45541278
commit
fb443b3fb4
5 changed files with 14 additions and 27 deletions
|
@ -77,7 +77,7 @@ public:
|
|||
|
||||
ThrowCompletionOr<Value> get(PropertyName const&) const;
|
||||
ThrowCompletionOr<bool> set(PropertyName const&, Value, ShouldThrowExceptions);
|
||||
bool create_data_property(PropertyName const&, Value);
|
||||
ThrowCompletionOr<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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue