I have a general understanding of the differences between forEach and map by reading docs and conversation with coworkers. I found this post to be especially helpful. In the post, they suggest a time when you might want to use forEach:
forEach() may be preferable when you’re not trying to change the data in your array, but instead want to just do something with it — like saving it to a database or logging it out
Can anyone else share times that they've intentionally used forEach instead of map?
Map seems to be preferable in most cases.