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

LibJS: Reflect Record wording editorial change in the Temporal spec

See: c8f14d0
This commit is contained in:
Linus Groh 2021-08-17 20:38:29 +01:00
parent 74ee1c9a8c
commit 0cdad283c0
7 changed files with 13 additions and 13 deletions

View file

@ -813,7 +813,7 @@ Optional<ISOYearMonth> iso_year_month_from_fields(GlobalObject& global_object, O
if (vm.exception())
return {};
// 8. Return the new Record { [[Year]]: result.[[Year]], [[Month]]: result.[[Month]], [[ReferenceISODay]]: 1 }.
// 8. Return the Record { [[Year]]: result.[[Year]], [[Month]]: result.[[Month]], [[ReferenceISODay]]: 1 }.
return ISOYearMonth { .year = result->year, .month = result->month, .reference_iso_day = 1 };
}
@ -892,7 +892,7 @@ Optional<ISOMonthDay> iso_month_day_from_fields(GlobalObject& global_object, Obj
return {};
}
// 14. Return the new Record { [[Month]]: result.[[Month]], [[Day]]: result.[[Day]], [[ReferenceISOYear]]: referenceISOYear }.
// 14. Return the Record { [[Month]]: result.[[Month]], [[Day]]: result.[[Day]], [[ReferenceISOYear]]: referenceISOYear }.
return ISOMonthDay { .month = result->month, .day = result->day, .reference_iso_year = reference_iso_year };
}