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.
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: Array Definition
Post your Comment