Re:V8 adds support for top-level await
by anonytrary on Wednesday September 25, 2019 @11:35PM
(#21077930)
I think there might be some confusion here. `foo()` will run asynchronously regardless of whether or not `await` is specified. I agree that in most cases, you will want to unbox the Promise. It is still very common to pass Promises around as values.
[ Parent
| on HN ]
There are no comments on this comment yet.