Re:Folding Promises in JavaScript
by molf on Thursday September 21, 2017 @08:17AM
(#15302554)
With async/await this can become:
The whole thing feels like a synthetic and overcomplicated example, though. In practice I'm sure I'd just write:
[ Parent
| on HN ]
Re:Folding Promises in JavaScript
by megawatthours on Thursday September 21, 2017 @08:23AM
(#15302589)
That code does the same thing as https://news.ycombinator.com/item?id=15302465 but not the same thing as the code in the article.