LibJS: Add missing spec link to Temporal.Instant.prototype.round()

This commit is contained in:
Linus Groh 2021-08-07 00:28:34 +01:00
commit 8ffad70504
Notes: sideshowbarker 2024-07-18 07:19:11 +09:00

View file

@ -125,7 +125,7 @@ JS_DEFINE_NATIVE_FUNCTION(InstantPrototype::epoch_nanoseconds_getter)
return &ns;
}
// 8.3.11 Temporal.Instant.prototype.round ( options )
// 8.3.11 Temporal.Instant.prototype.round ( options ), https://tc39.es/proposal-temporal/#sec-temporal.instant.prototype.round
JS_DEFINE_NATIVE_FUNCTION(InstantPrototype::round)
{
// 1. Let instant be the this value.