myArray should be an array. The first item in myArray should be a string. The second item in myArray should be a number

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


// Only change code below this line
var arr = ["Code for change", 123];

Your browser information:

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

Challenge: Store Multiple Values in one Variable using JavaScript Arrays

Link to the challenge:

The failed tests say:

myArray should be an array .

The first item in myArray should be a string .

The second item in myArray should be a number .

Read those very closely - they are telling you what is wrong. Check your variable name.

thanks man i have cheket the right solution

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