mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
LibJS: Add the Set built-in object
This commit is contained in:
committed by
Linus Groh
parent
b17a282b4b
commit
670be04c81
@@ -43,7 +43,7 @@ void WindowObject::initialize_global_object()
|
||||
{
|
||||
Base::initialize_global_object();
|
||||
|
||||
set_prototype(&ensure_web_prototype<EventTargetPrototype>("EventTarget"));
|
||||
Object::set_prototype(&ensure_web_prototype<EventTargetPrototype>("EventTarget"));
|
||||
|
||||
define_property("window", this, JS::Attribute::Enumerable);
|
||||
define_property("frames", this, JS::Attribute::Enumerable);
|
||||
|
||||
Reference in New Issue
Block a user