1)array.push( ) - This method return you to add element to an array and provides you the new length of an array and store in a variable current paper.
The document. write print the values of an element in a array after inserting.
Output of the program
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Post your Comment