Matt Smith on when to use map()
vs. forEach()
in JavaScript. Just one of those things I can imagine asking or being asked in a coding interview. Some interesting comments below the article as well.

Matt Smith on when to use map()
vs. forEach()
in JavaScript. Just one of those things I can imagine asking or being asked in a coding interview. Some interesting comments below the article as well.