pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction

cript src="/static/client/runtime.0893fdb4c5a1e2a5.js" type="module">

Dieser Inhalt wurde automatisch aus dem Englischen übersetzt, und kann Fehler enthalten. Erfahre mehr über dieses Experiment.

View in English Always switch to English

AsyncFunction

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2017.

Das AsyncFunction-Objekt bietet Methoden für asynchrone Funktionen. In JavaScript ist jede asynchrone Funktion tatsächlich ein AsyncFunction-Objekt.

Beachten Sie, dass AsyncFunction kein globales Objekt ist. Es kann mit dem folgenden Code abgerufen werden:

js
const AsyncFunction = async function () {}.constructor;

AsyncFunction ist eine Unterklasse von Function.

Konstruktor

AsyncFunction()

Erstellt ein neues AsyncFunction-Objekt.

Instanz-Eigenschaften

Erbt auch Instanz-Eigenschaften von seinem Elternteil Function.

Diese Eigenschaften sind auf AsyncFunction.prototype definiert und werden von allen AsyncFunction-Instanzen geteilt.

AsyncFunction.prototype.constructor

Die Konstrukturfunktion, die das Instanzobjekt erstellt hat. Für AsyncFunction-Instanzen ist der Anfangswert der AsyncFunction-Konstruktor.

AsyncFunction.prototype[Symbol.toStringTag]

Der Anfangswert der [Symbol.toStringTag]-Eigenschaft ist der String "AsyncFunction". Diese Eigenschaft wird in Object.prototype.toString() verwendet.

Hinweis: AsyncFunction-Instanzen haben nicht die prototype-Eigenschaft.

Instanz-Methoden

Erbt Instanz-Methoden von seinem Elternteil Function.

Spezifikationen

Specification
ECMAScript® 2026 Language Specification
# sec-async-function-objects

Browser-Kompatibilität

Siehe auch

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy