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