mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:58:11 +00:00
LibJS: Use "Completion" to emphasize completion record
This is an editorial change in the Temporal spec.
See: 31d9fc5
This commit is contained in:
parent
f64b69955e
commit
15fe6297bc
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ ThrowCompletionOr<TimeZone*> create_temporal_time_zone(GlobalObject& global_obje
|
|||
// 2. Let object be ? OrdinaryCreateFromConstructor(newTarget, "%Temporal.TimeZone.prototype%", « [[InitializedTemporalTimeZone]], [[Identifier]], [[OffsetNanoseconds]] »).
|
||||
auto* object = TRY(ordinary_create_from_constructor<TimeZone>(global_object, *new_target, &GlobalObject::temporal_time_zone_prototype));
|
||||
|
||||
// 3. Let offsetNanosecondsResult be ParseTimeZoneOffsetString(identifier).
|
||||
// 3. Let offsetNanosecondsResult be Completion(ParseTimeZoneOffsetString(identifier)).
|
||||
auto offset_nanoseconds_result = parse_time_zone_offset_string(global_object, identifier);
|
||||
|
||||
// 4. If offsetNanosecondsResult is an abrupt completion, then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue