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
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).

View file

@ -13,7 +13,7 @@
namespace JS {
// 1.2.1 CreateSyntheticModule ( exportNames, evaluationSteps, realm, hostDefined ), https://tc39.es/proposal-json-modules/#sec-synthetic-module-records
// 1.2.1 CreateSyntheticModule ( exportNames, evaluationSteps, realm, hostDefined ), https://tc39.es/proposal-json-modules/#sec-createsyntheticmodule
SyntheticModule::SyntheticModule(Vector<FlyString> export_names, SyntheticModule::EvaluationFunction evaluation_steps, Realm& realm, StringView filename)
: Module(realm, filename)
, m_export_names(move(export_names))