How do you print the fourth array?


Oops, try again. Alas, you should have printed 31, as that is the 4th element!

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


You are now printing the whole array. You only want to print number four from the array junkData. You have to make it like this:


In place of the dots you have to type a number. You want number four from the array. If you count 0 for number 1, which number do you have to fill in the place of the dots?

Good luck!


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