var names = [] for (var i = 0; i < animals.length; i++) { names.push(animals[i].name) }