mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
LibJS: Add a bunch more missing ECMA-262 section/title/URL comments
This commit is contained in:
@@ -21,7 +21,10 @@ void WeakMapConstructor::initialize(GlobalObject& global_object)
|
||||
{
|
||||
auto& vm = this->vm();
|
||||
NativeFunction::initialize(global_object);
|
||||
|
||||
// 24.3.2.1 WeakMap.prototype, https://tc39.es/ecma262/#sec-weakmap.prototype
|
||||
define_property(vm.names.prototype, global_object.weak_map_prototype(), 0);
|
||||
|
||||
define_property(vm.names.length, Value(0), Attribute::Configurable);
|
||||
}
|
||||
|
||||
@@ -29,6 +32,7 @@ WeakMapConstructor::~WeakMapConstructor()
|
||||
{
|
||||
}
|
||||
|
||||
// 24.3.1.1 WeakMap ( [ iterable ] ), https://tc39.es/ecma262/#sec-weakmap-iterable
|
||||
Value WeakMapConstructor::call()
|
||||
{
|
||||
auto& vm = this->vm();
|
||||
|
||||
Reference in New Issue
Block a user