Add Delete Find Filter ForEach IndexOf Map Chain Functions BrowserStorage Promise Back
Logo image

Delete Object In Array Of Objects

Suppose you want to delete from a dropdown form that a person's name & phone number.

You can use Array.splice to delete with Array.findIndex to locate the element position.

Copy the code below & save file as object.html:


We found the element position "index" and delete 1 item using it.