- nodejs >= v14.7.0
- npm >= v6.14.7
- yarn >= v1.19.1
$ git clone https://git_url_clone <project_dir>
$ cd <project_dir>
$ yarn install
$ yarn start
-
Cloning out 1 array or 1 object is good but can't create a deep copy of the value i.e. it recursively clones the value
-
Example:
const cloneCard = [...card];
-
Solution: using Lodash
-
import {cloneDeep} from 'lodash'
-
Object inheritance is preserved.
** Coming soon !! **