forEach() Example 2

This example defines an array [2, 5, 9] and then prints out the value of each index of the array using an object.