how to delete an object in a dictionary javascript code example Example: js delete object in dict delete myArray[id_to_remove];