by duderific · 5y ago · 0 comments
And good job on finding those top level await spec bugs.
They're also very helpful for debugging. Using await something in the console is way more convenient than something.then().
[1] https://developer.mozilla.org/en-US/docs/Glossary/IIFE
[2] https://github.com/tc39/proposal-top-level-await/blob/HEAD/R...
https://github.com/evanw/esbuild/issues/253#issuecomment-773...