mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:37:34 +00:00
LibJS: Convert Object::set() to ThrowCompletionOr
This commit is contained in:
parent
b7e5f08e56
commit
1d45541278
18 changed files with 89 additions and 188 deletions
|
@ -26,7 +26,7 @@ void Reference::put_value(GlobalObject& global_object, Value value)
|
|||
throw_reference_error(global_object);
|
||||
return;
|
||||
}
|
||||
global_object.set(m_name, value, Object::ShouldThrowExceptions::No);
|
||||
MUST(global_object.set(m_name, value, Object::ShouldThrowExceptions::No));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue