Hacker News new | ask | show | jobs
by jsh7 2833 days ago
You can also ‘return’ the outer function from within a ‘for...of’ which is pretty useful imo.
1 comments

And you can use await in the context of an outer async function, which is a huge advantage in reducing code complexity.