summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/FunctionConstructor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Runtime/FunctionConstructor.h')
-rw-r--r--Libraries/LibJS/Runtime/FunctionConstructor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/FunctionConstructor.h b/Libraries/LibJS/Runtime/FunctionConstructor.h
index e84e7cddba..97b0aa9001 100644
--- a/Libraries/LibJS/Runtime/FunctionConstructor.h
+++ b/Libraries/LibJS/Runtime/FunctionConstructor.h
@@ -31,6 +31,8 @@
namespace JS {
class FunctionConstructor final : public NativeFunction {
+ JS_OBJECT(FunctionConstructor, NativeFunction);
+
public:
explicit FunctionConstructor(GlobalObject&);
virtual void initialize(Interpreter&, GlobalObject&) override;
@@ -41,7 +43,6 @@ public:
private:
virtual bool has_constructor() const override { return true; }
- virtual const char* class_name() const override { return "FunctionConstructor"; }
};
}