Refactor the method call from Step 1


#1

How do I refactor this code using arrow function syntax?
let secretMessage = animals.map(function(animals) {
return animals[0];
});


#3

here is some documentation that can help you:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions