AsyncFunction.prototype 属性表示 AsyncFunction 的原型对象。
AsyncFunction 对象继承自 AsyncFunction.prototype。AsyncFunction.prototype 不能被修改。
AsyncFunction.constructorAsyncFunction。AsyncFunction.prototype[@@toStringTag]| Specification | Status | Comment |
|---|---|---|
| ECMAScript Latest Draft (ECMA-262) AsyncFunction.prototype |
Draft | 最初定义在ES2017. |
| Desktop | Mobile | Server | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
prototype | Chrome Full support 55 | Edge Full support 15 | Firefox Full support 52 | IE No support No | Opera Full support 42 | Safari ? | WebView Android ? | Chrome Android Full support 55 | Edge Mobile ? | Firefox Android Full support 52 | Opera Android Full support 42 | Safari iOS ? | Samsung Internet Android Full support 6.0 | nodejs
Full support
7.6.0
|