how to delete an object in an array of objects code example Example: remove object from array javascript someArray.splice(x, 1);