summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/BooleanConstructor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Runtime/BooleanConstructor.cpp')
-rw-r--r--Libraries/LibJS/Runtime/BooleanConstructor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibJS/Runtime/BooleanConstructor.cpp b/Libraries/LibJS/Runtime/BooleanConstructor.cpp
index c8254abd66..3f5d54a68a 100644
--- a/Libraries/LibJS/Runtime/BooleanConstructor.cpp
+++ b/Libraries/LibJS/Runtime/BooleanConstructor.cpp
@@ -33,6 +33,7 @@
namespace JS {
BooleanConstructor::BooleanConstructor()
+ : NativeFunction("Boolean")
{
put("prototype", Value(interpreter().boolean_prototype()));
put("length", Value(1));