diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/BoundFunction.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/BoundFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp b/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp index 18aadb3448..7b2ba688c4 100644 --- a/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp +++ b/Userland/Libraries/LibJS/Runtime/BoundFunction.cpp @@ -22,7 +22,7 @@ void BoundFunction::initialize(GlobalObject& global_object) { auto& vm = this->vm(); Base::initialize(global_object); - define_property(vm.names.length, Value(m_length), Attribute::Configurable); + define_direct_property(vm.names.length, Value(m_length), Attribute::Configurable); } BoundFunction::~BoundFunction() |