AsyncFunction.prototype
属性表示 AsyncFunction
的原型对象。
描述
AsyncFunction
对象继承自 AsyncFunction.prototype
。AsyncFunction.prototype
不能被修改。
属性
-
AsyncFunction.constructor
-
默认值为
AsyncFunction
。 -
AsyncFunction.prototype[@@toStringTag]
- 返回 "AsyncFunction"。
规范
Specification | Status | Comment |
---|---|---|
ECMAScript Latest Draft (ECMA-262) AsyncFunction.prototype |
Draft | 最初定义在ES2017. |
兼容性
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out
https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
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 Full support 55 | Chrome Android Full support 55 | 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
|
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- User must explicitly enable this feature.
- User must explicitly enable this feature.