Initialize a string array during declaration and check the array size
|
|
<html> <head> <title>A Simple Page</title> <script language="javascript"> <!-- var days_of_week = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); alert(days_of_week.length); // --> </script> </head> <body>
</body> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
|
|