FULL STACK   ·   UI   ·   UX   ·   GRAPHICS   ·   DEVELOPER   ·   INSTRUCTOR

Adam Khoury

Donate funds to show love and support

Click the button below to donate funds securely online. You can use your PayPal account or a credit card.

Your donations help free up my time to produce more content and assist in covering server costs. It's also a great way to say thanks for the content!

Application Configuration

Adam will be adding options here soon.

Multidimensional Array Programming Tutorial

Published :
Author :
Adam Khoury
Learn to write and process multidimensional arrays using JavaScript. They are called Multidimensional because they contain one or more arrays to provide a deeper level of data nesting and processing than normal basic arrays. <body> <script> var people = [ [ "Joseph",27,"United States",["blue","black"] ], [ "Maria",21,"Uraguay",["brown","green"] ], [ "Brian",35,"United Kingdom",["green","red"] ], [ "Susan",42,"Australia",["blue","blonde"] ] ]; // people[2][3][1] = "brown"; // document.write(people[2][3][1]); for(var i = 0; i < people.length; i++) { document.write("<h2>"+people[i][0]+"</h2>"); for(var j = 0; j < people[i].length; j++) { document.write(people[i][j]+"<br>"); } } </script> </body>