mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibJS: Convert create_data_property_or_throw() to ThrowCompletionOr
This commit is contained in:
parent
bb2499cd7a
commit
364dd42fc8
30 changed files with 148 additions and 167 deletions
|
@ -1082,7 +1082,7 @@ ThrowCompletionOr<Object*> prepare_temporal_fields(GlobalObject& global_object,
|
|||
}
|
||||
|
||||
// d. Perform ! CreateDataPropertyOrThrow(result, property, value).
|
||||
result->create_data_property_or_throw(property, value);
|
||||
MUST(result->create_data_property_or_throw(property, value));
|
||||
}
|
||||
|
||||
// 4. Return result.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue