0

How i can establishment 2D array on js

1D array that easy but i dont know how to use 2d array on js

20th Jul 2018, 11:43 AM
Omar Muhammad Nofal
Omar Muhammad Nofal - avatar
2 Answers
+ 2
the dimensions specify how many levels of arrays are nested into the main array. 1d let arr=[5,6] 2d let arr=[[5,6] [5,6]]; 3d ler arr=[ [[5,6],[5,6]],[[5,6],[5,6]] ];
20th Jul 2018, 11:53 AM
᠌᠌Code X
᠌᠌Code X - avatar
0
thank you my friend
20th Jul 2018, 3:43 PM
Omar Muhammad Nofal
Omar Muhammad Nofal - avatar