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.
Draft Initial definition in ES2017.

Browser compatibility

Update compatibility data on GitHub
DesktopMobileServer
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung InternetNode.js
prototypeChrome Full support 55Edge Full support 15Firefox Full support 52IE No support NoOpera Full support 42Safari ? WebView Android Full support 55Chrome Android Full support 55Firefox Android Full support 52Opera Android Full support 42Safari iOS ? Samsung Internet Android Full support 6.0nodejs Full support 7.6.0
Full support 7.6.0
Full support 7.0.0
Disabled
Disabled From version 7.0.0: this feature is behind the --harmony runtime flag.

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.

See also