Search
Use the map.delete() method to remove the key-value pair, which has the key - color from the fruit Map.
map.delete()
color
fruit
For example: