Limited Availability
JavaScript
id: top-level-await
Top-level await
The
await keyword, when used at the top level of a module (outside of an async function), delays parent module execution until after a promise fulfills.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
89
Supported
Mozilla Firefox
89
Supported
Apple Safari
—
Unsupported
Microsoft Edge
89
Supported
Mobile Browser Engine Support
Chrome Android
89
Firefox Android
89
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys: