DEV Community

Discussion on: Use async / await with Javascript's .map() and other high-order functions

Collapse
 
loopmode profile image
Jovica Aleksic

I've been doing this kind of thing for a long time, but nowerdays I rather just use a for...of loop and regular async/await syntax :)

Collapse
 
tqbit profile image
tq-bit

Good point. Frankly speaking, for ... of is what made it into the final codebase as it's easier to read & interpret