Iterators What is the difference between forEach and map in JS? forEach: const arr = [1, 2, 3]; const eachExample = () => arr.forEach(e => e);