+ 1

Is it possible to make an array inside an other array in javascript?

29th Dec 2018, 5:45 AM
Mohammad Rashed
Mohammad Rashed - avatar
2 Answers
+ 1
Array inside array? Obviously. Did you mean something like this? var my_arr= [ [1, 2, 3], [4, 5, 6], [7, 8, 9], ]
29th Dec 2018, 6:09 AM
Шащи Ранжан
Шащи Ранжан - avatar
0
The boolean response to your question would be YES as Shashi Ranjan have you shown an example. Otherwise you may discover more on your own by Google "multidimensional array javascript". 👌
29th Dec 2018, 7:57 AM
Zephyr Koo
Zephyr Koo - avatar