<html> <head> <title>Array Demo</title> <script> var a =new Array(3); document.write("Length of Array =" + a.length); </script> </head> <body> </body> </html>
Length of Array =3