Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. const animals = ['Hen', 'elephant', 'llama', 'leopard', 'ostrich', 'Whale', 'octopus', 'rabbit', 'lion', 'dog'];
  2.  
  3. // Create the secretMessage array below
  4. const secretMessage = animals.map(animal => {
  5. return animal[0];
  6. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement