diff --git a/boa/src/builtins/function/mod.rs b/boa/src/builtins/function/mod.rs index ae46d8068df..4a07f00855f 100644 --- a/boa/src/builtins/function/mod.rs +++ b/boa/src/builtins/function/mod.rs @@ -182,7 +182,7 @@ pub fn create_unmapped_arguments_object(arguments_list: &[Value]) -> Value { // Set length let length = DataDescriptor::new( len, - Attribute::WRITABLE | Attribute::NON_ENUMERABLE | Attribute::PERMANENT, + Attribute::WRITABLE | Attribute::NON_ENUMERABLE | Attribute::CONFIGURABLE, ); // Define length as a property obj.ordinary_define_own_property("length", length.into());