Access Multi-Dimensional Arrays With Indexes 2

Tell us what’s happening:
myData should be equal to 8 and I am getting 6. I have no clue how to figure this one out.

I tried the help section and it shows what to do but it just doesn't workout for me

**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[1][2];

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36.

Link to the challenge:

1 Like

So you want to access the array 8 is in first and then access the value of 8 within that array.

The third array (starting at index 0) is [2] and then 8 is the second value so [1].

You currently have the order of the two reversed with [1][2] instead of [2][1]