1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:27:36 +00:00

LibJS: Add missing step number in PlainDatePrototype

This commit is contained in:
Linus Groh 2021-07-22 20:03:39 +01:00
parent aa2c8b6b91
commit 8b6865b128

View file

@ -50,7 +50,7 @@ static PlainDate* typed_this(GlobalObject& global_object)
JS_DEFINE_NATIVE_FUNCTION(PlainDatePrototype::calendar_getter) JS_DEFINE_NATIVE_FUNCTION(PlainDatePrototype::calendar_getter)
{ {
// 1. Let temporalDate be the this value. // 1. Let temporalDate be the this value.
// Perform ? RequireInternalSlot(temporalDate, [[InitializedTemporalDate]]). // 2. Perform ? RequireInternalSlot(temporalDate, [[InitializedTemporalDate]]).
auto* temporal_date = typed_this(global_object); auto* temporal_date = typed_this(global_object);
if (vm.exception()) if (vm.exception())
return {}; return {};