summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-01-19 19:26:03 +0000
committerLinus Groh <mail@linusgroh.de>2022-01-19 19:26:03 +0000
commit7d0782f3087f6a20775dc5e7aa6820badcbdfeaf (patch)
tree3ffd9702b3cbef21d850511d5826e7ae3fb5fe99 /Userland
parenta5040ecdfc18b8c63255a1028535ef88f4e183c2 (diff)
downloadserenity-7d0782f3087f6a20775dc5e7aa6820badcbdfeaf.zip
LibJS: Remove duplicate definition of AsyncGeneratorFunction.prototype
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibJS/Runtime/AsyncGeneratorFunctionConstructor.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/AsyncGeneratorFunctionConstructor.cpp b/Userland/Libraries/LibJS/Runtime/AsyncGeneratorFunctionConstructor.cpp
index effb67c579..6ba69c2f36 100644
--- a/Userland/Libraries/LibJS/Runtime/AsyncGeneratorFunctionConstructor.cpp
+++ b/Userland/Libraries/LibJS/Runtime/AsyncGeneratorFunctionConstructor.cpp
@@ -22,9 +22,6 @@ void AsyncGeneratorFunctionConstructor::initialize(GlobalObject& global_object)
auto& vm = this->vm();
NativeFunction::initialize(global_object);
- // 27.4.2.2 AsyncGeneratorFunction.prototype, https://tc39.es/ecma262/#sec-asyncgeneratorfunction-prototype
- define_direct_property(vm.names.prototype, global_object.async_generator_function_prototype(), 0);
-
// 27.4.2.1 AsyncGeneratorFunction.length, https://tc39.es/ecma262/#sec-asyncgeneratorfunction-length
define_direct_property(vm.names.length, Value(1), Attribute::Configurable);