js cut object containing 2 arrays code example Example: remove object from array javascript someArray.splice(x, 1);