Basic JavaScript - Access Multi-Dimensional Arrays With Indexes

Tell us what’s happening:
Describe your issue in detail here.
I Do not Understand this …

Your code so far

// setup 
var myArray = [[1, 2, 3],[4, 5, 6],[7, 8, 9],[[10, 11, 12], 13, 14]]

// Only change code below this line 
var myData = myArray[2][1];

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0

Challenge: Basic JavaScript - Access Multi-Dimensional Arrays With Indexes

Link to the challenge:

You made a chance above this line.

Can you be more specific about what is confusing?

// setup 
var myArray = [[1, 2, 3],[4, 5, 6],[7, 8, 9],[[10, 11, 12], 13, 14]]

// Only change code below this line 
var myData = myArray[2][1];

Yes ,The code is not passing What should I do?

You should try being more specific about what has you stuck or confused.

I cannot write the answer for you so I need more information.

Have you tried resetting the code so you don’t have any changes above the line that says to make no changes?

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