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 2017 Draft (ECMA-262) The definition of 'AsyncFunction.prototype' in that specification. |
Draft | Initial definition in ES2017. |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Edge | Opera | Safari (WebKit) |
---|---|---|---|---|---|---|
Basic support | ? | 52.0 (52.0) | ? | ? | ? | ? |
Feature | Android | Android Webview | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|
Basic support | ? | ? | 52.0 (52.0) | ? | ? | ? | ? |