- 1
An example of 2d array: var arr = [ [1,2,3], [ "a", "b", "c"], [6,7,8], [ "x", "y", "z"]]; console.log( arr[2][0] ); // the output is 6.
8th Feb 2018, 1:02 PM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar