🏠 New in High Baseline Support: Top-level await

March 20, 2024

caniuse · mdn · spec

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.

Source features