Basic JavaScript - Access Multi-Dimensional Arrays With Indexes

Tell us what’s happening:
Describe your issue in detail why is it 11
.
Pls i need explanation more on these
Your code so far

const element = arr[3][0][1];
const myArray = [
  [1, 2, 3],
  [4, 5, 6],
  [7, 8, 9],
  [[10, 11, 12], 13, 14],
];

const myData = myArray[0][0];

Your browser information:

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

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

Link to the challenge:

The original code sets myData to the value 1. All you need to do is change the numbers inside the square brackets so it sets the value of myData to 8.

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