1
JS Assignment 11: Intro to Objects
Paultheriault (0)

//This one has got me stumped. Any hints or advice would be greatly appreciated.//

function exerciseTwo(animal){
// Exercise Two: In this exercise you will be given an object called 'animal'
// Create a new variable called 'animalName'
// Accessing the animal object, assign the 'animalName' variable to the 'latinName' key on the object.
// return the animalName variable.

}

You are viewing a single comment. View All
Answered by heyitsmarcus (280) [earned 5 cycles]
View Answer
1
heyitsmarcus (280)

@Paultheriault I'm not sure where the variable double is coming from. Be sure to read the directions carefully. You need to create a variable called animalName and you will be passed in an object called animal which has a property called latinName.

If you're still stuck after that, I'll drop you another hint.