function that delete a object from array code example Example: remove object from array javascript someArray.splice(x, 1);