how to remove element object in array javsacript with map code example Example: js delete object in map my_map.delete(id)