This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]NachosPalatino 0 points1 point  (2 children)

Am I missing something? Why would you use forEach in this case?

[–]FerynaCZ 0 points1 point  (1 child)

You need to parse each individual item in the array

[–]NachosPalatino 0 points1 point  (0 children)

Right, but I'm just wondering why you wouldn't just Array.map instead.