Hint on what is missing on this code

what is missing on this code???

Your code so far


// example
var ourArray = [["the universe", 42], ["everything", 101010]];

// Only change code below this line
var myArray = [["Bulls", 23]; ["White sox", 45]];

Your browser information:

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

Challenge: Nest one Array within Another Array

Link to the challenge:

Elements in an array are separated by commas, not semicolons. You should be seeing a syntax error in the console window below the editor that is telling you this.

thank you,i figured it out.

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