V8 adds support for top-level await
All this async code without decent locking primitives is leading to a rabbit hole of race conditions...<p>It doesn&#x27;t matter that it&#x27;s all single threaded if all your function calls may or may not block and run a bunch of other code in the meantime, mutating all kinds of state.<p>I feel like JavaScript developers of the 2020&#x27;s are going to relearn the same things the C programmers of the 1990&#x27;s learn, just a few levels of abstraction higher.