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