Array positions


#1

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

what is wrong with this code?


#2

Hi what error are you getting?

with

console.log(junkData[3]);

it will print 31