DEV Community

Discussion on: Array.map() Method in JavaScript 🚀

Collapse
lgrammel profile image
Lars Grammel

Personally I would use .forEach in the example above, because the values that are being returned from .map are not used.