Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

AsyncFunction

2 tags 1 category

The AsyncFunction object provides methods for async functions. In JavaScript, every async function is actually an AsyncFunction object.

Note that AsyncFunction is not a global object. It can be obtained with the following code:

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]](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag) property is the string “AsyncFunction”. This property is used in Object.prototype.toString().

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…