Question: Write a JavaScript program which prints the elements of the following multidimensional array. Note : Use nested for loops. Sample array : var a =
Write a JavaScript program which prints the elements of the following multidimensional array. Note : Use nested for loops. Sample array : var a = [[1, 2, 1, 24], [8, 11, 9, 4], [7, 0, 7, 27], [7, 4, 28, 14], [3, 10, 26, 7]];
Sample Output :
"row 0"
" 1"
" 2"
" 1"
" 24"
"row 1"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
