LibJS: Add missing spec link to YearMonthFromFields

This commit is contained in:
Linus Groh 2021-08-16 18:14:12 +01:00
parent 795e077eb8
commit cbe7015c0c
Notes: sideshowbarker 2024-07-18 05:37:47 +09:00

View File

@ -417,7 +417,7 @@ PlainDate* date_from_fields(GlobalObject& global_object, Object& calendar, Objec
return static_cast<PlainDate*>(date_object);
}
// 12.1.25 YearMonthFromFields ( calendar, fields [ , options ] ),
// 12.1.25 YearMonthFromFields ( calendar, fields [ , options ] ), https://tc39.es/proposal-temporal/#sec-temporal-yearmonthfromfields
PlainYearMonth* year_month_from_fields(GlobalObject& global_object, Object& calendar, Object& fields, Object* options)
{
auto& vm = global_object.vm();