mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
LibJS: Use MUST() where applicable
This commit is contained in:
parent
7cd3f7de61
commit
4d5bd092ea
14 changed files with 58 additions and 56 deletions
|
@ -187,7 +187,7 @@ Instant* system_instant(GlobalObject& global_object)
|
|||
auto* ns = system_utc_epoch_nanoseconds(global_object);
|
||||
|
||||
// 2. Return ! CreateTemporalInstant(ns).
|
||||
return create_temporal_instant(global_object, *ns).release_value();
|
||||
return MUST(create_temporal_instant(global_object, *ns));
|
||||
}
|
||||
|
||||
// 2.3.4 SystemDateTime ( temporalTimeZoneLike, calendarLike ), https://tc39.es/proposal-temporal/#sec-temporal-systemdatetime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue