Multi-Dimensional

JavaScript only has one-dimensional arrays but you can build arrays of arrays.


let myArray = [ 
   [1, 2, 3],
   [4, 5, 6],
   [7, 8, 9]
];




© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopPrevNext