diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/FunctionObject.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/FunctionObject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/FunctionObject.h b/Userland/Libraries/LibJS/Runtime/FunctionObject.h index 3cfa762166..dce1c3ea99 100644 --- a/Userland/Libraries/LibJS/Runtime/FunctionObject.h +++ b/Userland/Libraries/LibJS/Runtime/FunctionObject.h @@ -11,6 +11,7 @@ namespace JS { +// 10.2 ECMAScript Function Objects, https://tc39.es/ecma262/#sec-ecmascript-function-objects class FunctionObject : public Object { JS_OBJECT(Function, Object); @@ -48,7 +49,7 @@ public: virtual Environment* environment() { return nullptr; } // [[Realm]] - virtual GlobalObject* realm() const { return nullptr; } + virtual Realm* realm() const { return nullptr; } enum class ThisMode : u8 { Lexical, |