W3cubDocs

/JavaScript

AsyncFunction.prototype

The AsyncFunction.prototype property represents the AsyncFunction prototype object.

Description

AsyncFunction objects inherit from AsyncFunction.prototype. AsyncFunction.prototype cannot be modified.

Properties

AsyncFunction.constructor
The initial value is AsyncFunction.
AsyncFunction.prototype[@@toStringTag]
Returns "AsyncFunction".

Specifications

Specification Status Comment
ECMAScript Latest Draft (ECMA-262)
The definition of 'AsyncFunction.prototype' in that specification.
Living Standard Initial definition in ES2017.

Browser compatibility

Feature Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 55 ? 52 No 42 ?
Feature Android webview Chrome for Android Edge mobile Firefox for Android IE mobile Opera Android iOS Safari
Basic support ? 55 ? 52 No 42 ?

See also

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction/prototype