Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

array length in javascript

<html>
   <head>
      <title>JavaScript Array length Property</title>
   </head>
   
   <body>   
      <script type = "text/javascript">
         var arr = new Array( 10, 20, 30 );
         document.write("arr.length is : " + arr.length); 
      </script>      
   </body>
</html>
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #array #length #javascript
ADD COMMENT
Topic
Name
7+7 =