Ask HN: (JS) Wouldn't it be simpler if `await` were a method on `Promise`?
https://news.ycombinator.com/item?id=19334167Instead of requiring special new syntax like we have now:
const result = await doAsync();
We could have a method on the returned Promise object called 'await':
const result = doAsync().await();