Map.remove

Removes the given item from the map, if it exists.

Returns the removed item or null if it hadn't been added to the map.

UsageReturns
Map.remove(item)Object
ArgumentTypeDetails
itemObject

The item to remove.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!