Top-level await
Newly Available (since 2026-09-14)
Expected to be Widely Available on 2029-03-14
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.
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 27 Released on 2026-09-14
- Safari on iOS 27 Released on 2026-09-14
MDN documentation
Specifications
- ECMAScript® 2027 Language Specification (#sec-async-function-definitions), from TC39 (Ecma International).
Usage (according to Chrome Platform Status)
~1.450% of page loads. More data at chromestatus.com.Web Platform Tests (WPT)
View the latest WPT test results for this featureInterop
- Included in Interop 2026
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist