Full Discussion (Useful JS functions you aren't using: Array.map)

Somewhat related -- if you're lazy like me, you might use map() simply to act on each item in the array (ignoring the fact that map creates a returns a new array). Don't do that! Use forEach() ๐Ÿ‘

code of conduct - report abuse