map Without Key Can Destroy
Create a new map like this map, but without the key/value pair having the specified key. If the key was not present, then answer the original map. The original map can be modified in place (and then returned) if canDestroy is true and the map is mutable.
Return
The new map not having the specified key.
Parameters
key Object
The key to remove.
can Destroy
Whether a mutable map can be modified in place.