Addy Osmani on Twitter: "Top-level await is in Chrome 89 beta. Enables using the `await` keyword outside of async functions (in the top-level of a module's code): https://t.co/ZOX34Aqlpj https://t.co/muc9QsmmQR" / Twitter
![V8 on Twitter: "π Top-level await makes it possible to use the `await` keyword outside of async functions in JavaScript modules! @mylesborins explains: https://t.co/anExYqaVS7 https://t.co/kB7u7ZFGiq" / Twitter V8 on Twitter: "π Top-level await makes it possible to use the `await` keyword outside of async functions in JavaScript modules! @mylesborins explains: https://t.co/anExYqaVS7 https://t.co/kB7u7ZFGiq" / Twitter](https://pbs.twimg.com/media/EGWuMvXXkAAR6eS.jpg:large)
V8 on Twitter: "π Top-level await makes it possible to use the `await` keyword outside of async functions in JavaScript modules! @mylesborins explains: https://t.co/anExYqaVS7 https://t.co/kB7u7ZFGiq" / Twitter
![Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext' | bobbyhadz Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext' | bobbyhadz](https://bobbyhadz.com/images/blog/typescript-top-level-await-expressions-are-only-allowed/top-level-await-expressions-are-only-allowed.webp)