1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 11:47:35 +00:00

LibJS: Set Array length attributes to "Configurable | Writable"

This commit is contained in:
mattco98 2020-04-28 19:32:55 -07:00 committed by Andreas Kling
parent da0ab16f01
commit 18cfb9218a

View file

@ -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()