This Tutorial illustrates an code example that makes you easy to understand the code in Array Definition. On loading a page, display ( ) function is invoked. The function display ( ) includes an array variable, used to instantiate an array object. An array object hold the list of different element varying from -.The document. write print the Element of the array are followed by line breaker. The for loop executes the script till the length i is less than array length. Finally the document. write print the name of element that an array object hold.
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: November 11, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles