5 ms·
You can also ‘return’ the outer function from within a ‘for...of’ which is pretty useful imo.
by jsh7 8y ago
You can also ‘return’ the outer function from within a ‘for...of’ which is pretty useful imo.
- andyfleming 8y agoAnd you can use await in the context of an outer async function, which is a huge advantage in reducing code complexity.