Discussion on: JS Async: async/await

felipesousa profile image
Felipe Sousa Author

I really believe that it is something related to the scope within the browser. Anyway, there is a proposal to implement β€œawait” in the global scope: ECMAScript proposal: Top-level await, currently in phase 3, but it contains some interesting discussions about this implementation: Top-level await is a footgun πŸ‘£πŸ”«.