AsyncFunction - JavaScript | MDN
Constructor
AsyncFunction()-
Creates a new
AsyncFunctionobject.
Instance properties
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
AsyncFunctioninstances, the initial value is theAsyncFunctionconstructor. AsyncFunction.prototype[Symbol.toStringTag]-
The initial value of the
[Symbol.toStringTag]property is the string"AsyncFunction". This property is used inObject.prototype.toString().
Note:
AsyncFunction instances do not have the prototype property.
Instance methods
Inherits instance methods from its parent Function.
Specifications
| Specification |
|---|
| ECMAScript® 2026 Language Specification # sec-async-function-objects |