[JS] Object Copy
Object.assign(target, source) returns copied object from source object.
Object.assign(target, source) returns copied object from source object.
Case 1. var the variable is not hoisting outside of IIFE scope.
```js const num = 3.141592653589793238;
What will be happen if you use an object as a key in an object? Run below code and see how it goes.
new Map() – create a new map. map.set(key, value) – set key and value pair. map.get(key) – return key's value. If no key exist then return undefined. map.has...