July 1, 2017 at 11:02 am #29383
You have created an array of objects. To access each object, you must index into the array.
The first object would be people.
The value of “name” in that object would be people.name.
Can you see now how to build a for loop to access all the elements of the array, and pull out the value of name for each one?