Search
Use the map.clear() method to remove all the elements from the fruit Map.
map.clear()
fruit
For example: