Array Positions


var junkData = ["Eddie Murphy", 49, "peanuts", 31];

console.log = junkData[3];

I print out 31, still I get the error "Oops, try again. Alas, you should have printed 31, as that is the 4th element!"


hello @orgee

console.log is a function
you have to use it like this

if it doesn't work then it's a bug of exercise.


The exercise is probl bugged... nothing seems to work


if you spam validate button you can have the correction , try with this


var junkData = ["Eddie Murphy", 49, "amendoins", 31];