Why use a forEach instead of a for loop?