10. Arry Position : Please tell me what is required here, I dont get it clearly. Where am I going wrong. Thankyou


#1


https://www.codecademy.com/en/courses/javascript-beginner-en-NhsaT/2/2?curriculum_id=506324b3a7dffd00020bf661#

Oops, try again.
Alas, you should have printed 31, as that is the 4th element!


var junkData = ["Eddie Murphy", 49, "peanuts", 31, "groundnuts"];{
    console.log(junkData)
};


#2

Does the computer read "Eddie Murphie" as one word or two.


#3

You need to include an array position in brackets like this [3]

so to log 31 you would just write,

console.log(junkData[3]) //This is a way of printing out specific items in an array.


#4

Got it. Thank you very much Bandit for your timely reply.