JavaScript Multidimensional Array
A multidimensional array in JavaScript is an array that contains one or more arrays as elements. These arrays can be thought of as matrices where each array element represents a single value and each row or column represents a single dimension.
Arrays in JavaScript are usually one-dimensional. That is, there is only one element level. However, nesting arrays allows you to create multidimensional arrays.
Here is an example of a javascript multidimensional array
let matrix = [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
];
Example: