In this code we consider a function multidimensional array that accept table as argument .Inside this function we print a table showing you 'Example to show Multidimensional Array' and print the name of respective columns. The for loop execute the script till the variable x is less than equal to 3.The document. write print the number of columns. In the same way the for loop execute the script and print the number of rows till variable y is less than equal to 2.The var array instantiate an array object and store the value passed as parameter to it. The var new array instantiate the array object by accepting the arrays object as parameter. Finally a new multidimensional table is created and show the list of different value in the respective column.
Output of the program
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.