AsyncFunction()
-
Creates a new
AsyncFunction
object.
AsyncFunction()
Creates a new AsyncFunction
object.
Also inherits instance properties from its parent Function
.
These properties are defined on AsyncFunction.prototype
and shared by all AsyncFunction
instances.
AsyncFunction.prototype.constructor
The constructor function that created the instance object. For AsyncFunction
instances, the initial value is the AsyncFunction
constructor.
AsyncFunction.prototype[Symbol.toStringTag]
The initial value of the Object.prototype.toString()
.
Note: AsyncFunction
instances do not have the prototype
property.
Inherits instance methods from its parent Function
.
Specification |
---|
ECMAScript® 2026 Language Specification # sec-async-function-objects |