Store Multiple Values in one Variable using JavaScript- Arrays

Store Multiple Values in one Variable using JavaScript- Arrays
0.0 0

#1

What i do wrong

Your code so far

// Example
var ourArray = ["John", 23];

// Only change code below this line.
var myArray = ["peanut butter", "jelly", "bread"];
var myArray = [2,'j'];


Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36.

Link to the challenge:


#2

Instructions
Modify the new array myArray so that it contains both a string and a number (in that order).

Notice bold part.


#3

can you show me hoe you do it???