第二十一节 JavaScript多维数组
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Document</title> 6 <script type="text/javascript"> 7 var aList = [[1,2],[3,4],[5,6]]; 8 alert(aList.length); 9 alert(aList[0].length); 10 alert(aList[0][0]); 11 </script> 12 </head> 13 <body> 14 15 </body> 16 </html>