Basic JavaScript - Access Multi-Dimensional Arrays With Indexes

Tell us what’s happening:
Describe your issue in detail here.
It doesn’t appear you have made any changes to the code
Your code so far

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

const myData =myArray[2][3];

Your browser information:

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

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

Link to the challenge:

If you put

console.log(myData)

at the bottom of your code, you can see the value you are getting in the console pane.

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