mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
LibJS: Convert the PutValue AO to ThrowCompletionOr
This commit is contained in:
parent
390a04a985
commit
1aaaf521b8
6 changed files with 58 additions and 101 deletions
|
@ -129,7 +129,7 @@ public:
|
|||
(void)m_base_environment->initialize_binding(global_object, m_name.as_string(), value);
|
||||
}
|
||||
|
||||
void put_value(GlobalObject&, Value);
|
||||
ThrowCompletionOr<void> put_value(GlobalObject&, Value);
|
||||
ThrowCompletionOr<Value> get_value(GlobalObject&) const;
|
||||
ThrowCompletionOr<bool> delete_(GlobalObject&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue