array object in javascript

Tags

array object in javascript

<!doctype html>
<html lang="en">
 <head>
 </head>
 <body>
    <script>
      var a = new Array(10,10.5,'a',"abcd",true,null);
        for(var i=0;i<a.length;i++){
    document.write(a[i]+"</br>");
   }
    </script>
 </body>
</html>