new Map()
The function below extends the built-in Map class with new functionality.
Source
Methods
deepCopy() → {Map}
Extend the built-in JavaScript Map
class with a deep copy method. This
works only for Maps whose keys and values are all JSON-encodable.
Returns
-
Map
A new map that is a deep copy of the original.