10/13 What am I doing wrong?


#1

What am I doing wrong?

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


#2

@remio050 the whole point of this exercise is to log out the fourth member of the junkData array. So replace,

junkData[3];
console.log(junkData);

//with 

console.log(junkData[3])

#3

you're printing the junkData not the 2nd element in junkData,because in console.log print statement you're not writing it as console.log(junkData[3]);


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.