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

LibJS: Fix two bogus spec links

This commit is contained in:
Linus Groh 2022-04-11 19:44:33 +01:00
parent bd90498332
commit 231acda7f8
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).