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.
Status
Limited availability
MDN documentation
Specifications
- ECMAScript® 2026 Language Specification (#sec-async-function-definitions), from TC39 (Ecma International).
Browser support
- Chrome 89 Released on 2021-03-02
- Chrome Android 89 Released on 2021-03-02
- Edge 89 Released on 2021-03-04
- Firefox 89 Released on 2021-06-01
- Firefox for Android 89 Released on 2021-06-01
- Safari ❌
- Safari on iOS ❌
Baseline availability blocked since June 2021 by Safari (52 months)
Usage (according to Chrome Platform Status)
~0.784% of page loads. More data at chromestatus.com.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist