diff options
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/AsyncFunctionConstructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/AsyncFunctionConstructor.cpp b/Userland/Libraries/LibJS/Runtime/AsyncFunctionConstructor.cpp index 96759c7d81..2ba804870d 100644 --- a/Userland/Libraries/LibJS/Runtime/AsyncFunctionConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/AsyncFunctionConstructor.cpp @@ -13,7 +13,7 @@ namespace JS { AsyncFunctionConstructor::AsyncFunctionConstructor(GlobalObject& global_object) - : NativeFunction(vm().names.AsyncFunction.as_string(), *global_object.function_prototype()) + : NativeFunction(vm().names.AsyncFunction.as_string(), *global_object.function_constructor()) { } |