To delete an element from the javascript array you can use the following technique:
pop - Removes ...