My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

forEach vs map, which one to use and what cases?

JEDev++'s photo
JEDev++
·Feb 8, 2018

Sometimes i see some linter errors when using map which is resolved if i convert it to forEach. Anyone care to explain :D