Use Array.forEach() instead of a for loop.