remove an object from object array javascript code example Example: javascript pop object from array array.pop()