1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

LibJS: Add missing spec links

This commit is contained in:
Linus Groh 2021-08-08 11:04:30 +01:00
parent 0e21bf0f23
commit 16c38788c3
10 changed files with 12 additions and 12 deletions

View file

@ -308,7 +308,7 @@ bool validate_and_apply_property_descriptor(Object* object, PropertyName const&
return true;
}
// 10.1.14 GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto )
// 10.1.14 GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto ), https://tc39.es/ecma262/#sec-getprototypefromconstructor
Object* get_prototype_from_constructor(GlobalObject& global_object, FunctionObject const& constructor, Object* (GlobalObject::*intrinsic_default_prototype)())
{
auto& vm = global_object.vm();
@ -357,7 +357,7 @@ Object* get_super_constructor(VM& vm)
return super_constructor;
}
// 13.3.7.3 MakeSuperPropertyReference ( actualThis, propertyKey, strict )
// 13.3.7.3 MakeSuperPropertyReference ( actualThis, propertyKey, strict ), https://tc39.es/ecma262/#sec-makesuperpropertyreference
Reference make_super_property_reference(GlobalObject& global_object, Value actual_this, StringOrSymbol const& property_key, bool strict)
{
auto& vm = global_object.vm();