1)array.splice (1,1 ) - This method used to modify an array, removing any sequence from preexisting set of element that an array object. In this method the element in array is removed.
Again the for loop execute the script and return you true when variable i is less than the array length. Finally the document. write print the list of element after delete the element in an array object.Array Delete.html
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: Array Delete
Post your Comment