javascript remove element from dictionary by object code example Example: js delete object in dict delete myArray[id_to_remove];