I am doing this exercise with arrays but it does not let me pass this task. What I did print out the correct answer, but the program tell me I did something wrong. Here is what needs to be done:
Print out the fourth element of the array.
1. Start with figuring out how to express what the fourth element in the array is.
2. Then use console.log() to print things out!
This is what I did:
var junkData = ["Eddie Murphy", 49, "peanuts", 31];
console.log = (junkData );