Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const animals = ['Hen', 'elephant', 'llama', 'leopard', 'ostrich', 'Whale', 'octopus', 'rabbit', 'lion', 'dog'];
- // Create the secretMessage array below
- const secretMessage = animals.map(animal => {
- return animal[0];
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement