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.
Array Definition
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 [0]-[5].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.
Array Definition.html
|
Output
