how to remove words object js to an array code example Example: js delete object in dict delete myArray[id_to_remove];