9/13 Meet Arrays


I've written this line of code, but the error message I'm getting says the Third Element in the array is not a number. In the array, I have 2 strings and two numbers in the correct order to the instructions.

var arrayJunk = ["String", "String", 25425, 2525];


Can you tell me the exact error message?


Hi, sorry...

"Oops, try again. It looks like the third element in junk isn't a number."


Make your array called junk instead of arrayJunk. :slight_smile:

Does that work?


Yup! I did that without even thinking, not sure if it would work. Now I know! Thanks!


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