diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/ArrayConstructor.cpp')
-rw-r--r-- | Libraries/LibJS/Runtime/ArrayConstructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/ArrayConstructor.cpp b/Libraries/LibJS/Runtime/ArrayConstructor.cpp index f2578c0b81..2fd7162f33 100644 --- a/Libraries/LibJS/Runtime/ArrayConstructor.cpp +++ b/Libraries/LibJS/Runtime/ArrayConstructor.cpp @@ -34,7 +34,7 @@ namespace JS { ArrayConstructor::ArrayConstructor() - : NativeFunction("Array") + : NativeFunction("Array", *interpreter().function_prototype()) { put("prototype", interpreter().array_prototype()); put("length", Value(1)); |