WeCodeAcademy
❮ PromiseDate ❯

async / await

Write asynchronous code that reads in order.

Group: Async

Syntax

async function f() { await x; }

Example

Examplejavascript
Open in editor »

← All of JavaScript Reference