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