Access MultiDimensional Arrays With

Access MultiDimensional Arrays With
0.0 0

#1

Tell us what’s happening:

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[0][0];

Your browser information:

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

Link to the challenge:


#2

What’s the problem? What do you need help with?


#3

Re-read the instructions touroughly :

“Using bracket notation select an element from myArray such that myData is equal to 8.”

All you really have to do is select the “8” in “myArray” -> [[1,2,3], [4,5,6], [7,8,9], [[10,11,12], 13, 14]]