AsyncFunction - JavaScript | MDN

Constructor

AsyncFunction()

Creates a new AsyncFunction object.

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 AsyncFunction instances, the initial value is the AsyncFunction constructor.

AsyncFunction.prototype[Symbol.toStringTag]

The initial value of the [Symbol.toStringTag] property is the string "AsyncFunction". This property is used in Object.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

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.