summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-05-06 19:34:03 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-08 00:07:58 +0200
commit15fe6297bc333b4bacdbe1aa83fe0ae3addd796b (patch)
treebdb68ac95e7b09ee23a825d7d90c4353c144e8f9 /Userland/Libraries/LibJS
parentf64b69955e5ebd26f3dfcafb32968f91df8a3588 (diff)
downloadserenity-15fe6297bc333b4bacdbe1aa83fe0ae3addd796b.zip
LibJS: Use "Completion" to emphasize completion record
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/31d9fc5
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp
index cf9b04904f..e661f68b10 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp
@@ -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