Create Array using JavaScript

  1. <!DOCTYPE html>  
  2.   
  3. <html xmlns="http://www.w3.org/1999/xhtml">  
  4. <head runat="server">  
  5.     <title></title>  
  6. </head>  
  7. <body>  
  8.     <script type="text/javascript">  
  9.   
  10.         var mulArray=[  
  11.             ["C#","Corner","is","Very good site"],  
  12.             ["Want""To""know""then visit www.c-sharpcorner.com"],  
  13.             ["Please","Visit C# corner Everyday to learn Some thing new"],  
  14.             ["From C# Corner", ["  Javascript From C# Corner""  LINQ From C# Corner"]]  
  15.             ];  
  16.   
  17.         console.log(mulArray[0][0]);  
  18.         console.log(mulArray[1][0]);  
  19.         console.log(mulArray[1][1]);  
  20.         console.log(mulArray[2][1]);  
  21.         console.log(mulArray[3][0]);  
  22.         console.log("Learn  " + mulArray[3][1]);  
  23.         console.log(mulArray.length);  
  24.         console.log(mulArray[3][1].length);  
  25.     </script>  
  26. </body>  
  27. </html>