forEach() are widely abused. Instead, by using the right interface you can make your code faster, more efficient, and more readable.
There is one caveat when using array methods: some are immutable and some aren’t. Being aware of what type of method you are using is crucial. Otherwise, it can lead to some nasty bugs.
of that are worth knowing about.