how to delete object from array js code example Example: javascript delete object from array someArray.splice(x, 1);