diff --git a/Userland/Libraries/LibJS/Runtime/PromiseConstructor.cpp b/Userland/Libraries/LibJS/Runtime/PromiseConstructor.cpp index 1c619bcb24..2fee8bb656 100644 --- a/Userland/Libraries/LibJS/Runtime/PromiseConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/PromiseConstructor.cpp @@ -27,7 +27,7 @@ void PromiseConstructor::initialize(GlobalObject& global_object) // 27.2.4.4 Promise.prototype, https://tc39.es/ecma262/#sec-promise.prototype define_property(vm.names.prototype, global_object.promise_prototype(), 0); - define_property(vm.names.length, Value(1)); + define_property(vm.names.length, Value(1), Attribute::Configurable); u8 attr = Attribute::Writable | Attribute::Configurable; // TODO: Implement these functions below and uncomment this.