Performs a shallow copy of the source map.
Source key-value pairs are copied by value; if the source map contains objects, the object handles are copied but the objects are not cloned.
- Parameters
-
map | Map object. |
source | Map to be copied. |
- Returns
- Operation status.