There was an error while loading. Please reload this page.
This utility deep clones an object. To use it, pass an object.
const object = { property1: "test", property2: 123 }; const result = deepCopy(object); console.log(object); // Object { property1: "test", property2: 123 }