These properties are defined on AsyncGenerator.prototype
and shared by all AsyncGenerator
instances.
AsyncGenerator.prototype.constructor
-
The constructor function that created the instance object. For
AsyncGenerator
instances, the initial value isAsyncGeneratorFunction.prototype
.Note:
AsyncGenerator
objects do not store a reference to the async generator function that created them. AsyncGenerator.prototype[Symbol.toStringTag]
-
The initial value of the
Object.prototype.toString()
.