The AsyncFunction.prototype
property represents the AsyncFunction
prototype object.
AsyncFunction
objects inherit from AsyncFunction.prototype
. AsyncFunction.prototype
cannot be modified.
AsyncFunction.constructor
AsyncFunction
.AsyncFunction.prototype[@@toStringTag]
Specification | Status | Comment |
---|---|---|
ECMAScript Latest Draft (ECMA-262) The definition of 'AsyncFunction.prototype' in that specification. | Draft | Initial definition in ES2017. |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | 55 | ? | 52 | No | 42 | ? |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | ? | 55 | ? | 52 | 42 | ? | 6.0 |
Server | |
---|---|
Node.js | |
Basic support | 7.6.0
|
© 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