LibJS: Fix two bogus spec links

This commit is contained in:
Linus Groh 2022-04-11 19:44:33 +01:00
commit 231acda7f8
Notes: sideshowbarker 2024-07-17 17:49:11 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ JS_DEFINE_NATIVE_FUNCTION(PlainDateConstructor::from)
return TRY(to_temporal_date(global_object, item, options));
}
// 3.2.3 Temporal.PlainDate.compare ( one, two ), https://tc39.es/proposal-temporal/#sec-properties-of-the-temporal-plaindate-constructor
// 3.2.3 Temporal.PlainDate.compare ( one, two ), https://tc39.es/proposal-temporal/#sec-temporal.plaindate.compare
JS_DEFINE_NATIVE_FUNCTION(PlainDateConstructor::compare)
{
// 1. Set one to ? ToTemporalDate(one).