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