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.
I'm totally blown by this and I feel like I'm confused by the verbiage of the question, any clues, don't need the answer?
Just create a variable
animalName, then do something like
animalName = animal.latinName?
animal.latinName is usually how you access stuff in objects, but we need to know the language to help you out.
This question says that you have an object
animal. This object has a property called
latinName. All you have to do is make a variable called
animalName and set it equal to
latinName. Then, return
If you need more help on this, could you tell what language this is in?
If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!