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
This commit is contained in:
Linus Groh 2021-09-02 23:57:14 +01:00
parent 86a7c795f6
commit f046a4a75d
Notes: sideshowbarker 2024-07-18 04:28:23 +09:00

View file

@ -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.