W3cubDocs

/JavaScript

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 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) ? ? ? ?

See also

© 2005–2017 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