1)array.splice(1,2) - This method remove and insert an element of array. This method remove the element from an array index  and .
Finally the document. write print the list of element that an array object hold after delete an element from the element of an array.
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial