mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:58:12 +00:00
LibJS: Remove duplicate definition of AsyncGeneratorFunction.prototype
This commit is contained in:
parent
a5040ecdfc
commit
7d0782f308
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue