Re:How to write X in both Python 3 and JavaScript
by jsh7 on Friday September 14, 2018 @11:08AM
(#17987730)
You can also ‘return’ the outer function from within a ‘for...of’ which is pretty useful imo.
[ Parent
| on HN ]
Re:How to write X in both Python 3 and JavaScript
by andyfleming on Friday September 14, 2018 @12:40PM
(#17988695)
And you can use await in the context of an outer async function, which is a huge advantage in reducing code complexity.