summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-09-02 23:57:14 +0100
committerLinus Groh <mail@linusgroh.de>2021-09-08 00:07:18 +0100
commitf046a4a75d4f314ec6df311195c29ea3412fcc79 (patch)
tree3b01dee8701592e1644ab035cde957c9755ad66f /Userland/Libraries
parent86a7c795f6bdc74aa103ce32ad88beccde57384c (diff)
downloadserenity-f046a4a75d4f314ec6df311195c29ea3412fcc79.zip
LibJS: Make implementation-defined language more concise
This is a normative change in the Temporal spec. No behavioral change, just a clarification. See: https://github.com/tc39/proposal-temporal/commit/42c964e
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/CalendarPrototype.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/CalendarPrototype.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/CalendarPrototype.cpp
index d0f9b83c63..d0bcc29eb9 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/CalendarPrototype.cpp
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/CalendarPrototype.cpp
@@ -685,7 +685,7 @@ JS_DEFINE_NATIVE_FUNCTION(CalendarPrototype::era)
return js_undefined();
}
- // 5. Let era be the result of implementation-defined processing of temporalDateLike and the value of calendar.[[Identifier]].
+ // 5. Let era be the result of implementation-defined processing of temporalDateLike and calendar.[[Identifier]].
// 6. Return era.
// NOTE: No support for non-iso8601 calendars yet.
@@ -717,7 +717,7 @@ JS_DEFINE_NATIVE_FUNCTION(CalendarPrototype::era_year)
return js_undefined();
}
- // 5. Let eraYear be the result of implementation-defined processing of temporalDateLike and the value of calendar.[[Identifier]].
+ // 5. Let eraYear be the result of implementation-defined processing of temporalDateLike and calendar.[[Identifier]].
// 6. Return 𝔽(eraYear).
// NOTE: No support for non-iso8601 calendars yet.