mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibJS: Set Array length attributes to "Configurable | Writable"
This commit is contained in:
@@ -42,7 +42,7 @@ Array* Array::create(GlobalObject& global_object)
|
||||
Array::Array(Object& prototype)
|
||||
: Object(&prototype)
|
||||
{
|
||||
put_native_property("length", length_getter, length_setter);
|
||||
put_native_property("length", length_getter, length_setter, Attribute::Configurable | Attribute::Writable);
|
||||
}
|
||||
|
||||
Array::~Array()
|
||||
|
||||
Reference in New Issue
Block a user