Access MultiDimensional Arrays With Indexes Exercise

Access MultiDimensional Arrays With Indexes Exercise
0.0 0

#1

Tell us what’s happening:
I dont’t get why this doesn’t work?

var myData = myArray [2][1];

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:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0.

Link to the challenge:


#2

Seems to be the same problem as: