jsmp-infra-yaroslav-cloner
v2.3.1
Published
Returns clone of given object or array
Downloads
3
Readme
jsmp-infra-yaroslav-cloner
Returns clone of given object or array
Installation
npm install jsmp-infra-yaroslav-cloner
Usage
const deepClone = require("jsmp-infra-yaroslav-cloner");
let obj = { user: { id: 1, name: 'Yaroslav' } };
let objClone = deepClone(obj);