I’m having trouble understanding this problem. I know the answer and can move on but I want to understand it before I do.
InstructionsUsing bracket notation select an element from myArray such that myData is equal to 8.
// 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];
I know the answer is [2][1] but why? Help!