Jul 21, 2017 · 1 min read
Why not use for() instad of Array.map() ?
The result is much cleaner:
for (userId of userIds) {
await someThing(userId)
}
Why not use for() instad of Array.map() ?
The result is much cleaner:
for (userId of userIds) {
await someThing(userId)
}