Map: Another Higher Order Function

Map is another higher order function that goes through an array and doesn’t discard it but instead transforms/mutates it. Here, I’d like to get an array of all the names of the animals. const animals = [] { name: ‘Catticus Finch’, species: ‘cat’ }, { name: ‘Peaches’, species: ‘fish’ }, { name: ‘Bobby’, species: ‘dog’ …