Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jsh7
· 8y ago · 0 comments
You can also ‘return’ the outer function from within a ‘for...of’ which is pretty useful imo.
Comments
[–]
andyfleming
8y ago
And you can use await in the context of an outer async function, which is a huge advantage in reducing code complexity.