I need help with array positions, how do I do the index?


#1

// Practice array!

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


#2

Perhaps check out some examples
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array


#3

Try calling the number you want between the [] with console.log(junkData[])

you don't need to put "Eddie Murphy[0]. As JavaScript already knows the array number order. You also didn't close your " " either.