Y
Hacker News
new
|
ask
|
show
|
jobs
by
everdimension
2825 days ago
IIRC promises already have a `map` method which is synonymous to the `then` method.
1 comments
franciscop
2825 days ago
Not with native promises. You have the Promise.all([...]), which is explained in the article but no .map() AFAIK
link