Find index of item inside a collection
let i = list.map(item => item.id).indexOf(itemID) // find index of your object list.splice(i, 1);