summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/Function.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Runtime/Function.h')
-rw-r--r--Libraries/LibJS/Runtime/Function.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibJS/Runtime/Function.h b/Libraries/LibJS/Runtime/Function.h
index 242f671b9e..3465e02135 100644
--- a/Libraries/LibJS/Runtime/Function.h
+++ b/Libraries/LibJS/Runtime/Function.h
@@ -38,6 +38,7 @@ public:
virtual Value call(Interpreter&) = 0;
virtual Value construct(Interpreter&) = 0;
virtual const FlyString& name() const = 0;
+ virtual LexicalEnvironment* create_environment() = 0;
protected:
Function();