Way2tutorial Snippet Editor
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>JavaScript Array Multidimensional</title> </head> <body> <script type="text/javascript"> // Press F12 - View result on Console Panel var users = [ [ { "Name":"Opal Kole", "Address":"63 street Ct." }, { "Name":"Max Miller", "Address":"41 NEW ROAD." } ], [ { "Name":"Beccaa Moss", "Address": "2500 green city." }, { "Name":"Paul Singh", "Address": "1343 Prospect St" } ] ]; console.log(users[0]); // users index 0, 1st Array Object return console.log(users[0][0]); // users index 0, 1st Array Object (1st Record) return console.log(users[0][0]["Name"]); // users index:0, 1st Array Object (1st Record), Key: Name value return' </script> </body> </html>