by ch49 · 10y ago · 0 comments
Solid reasoning, in my opinion.
A simple example would be the concurrent fetch of two urls.
So `await (x)` is ambiguous. Making the outer function `async function () {...}` makes await a keyword inside that function, allowing them to move forward with that syntax in a non-breaking way as the parser now knows that there can't be a function named `await` inside any async functions.