cloneObject
import { cloneObject } from "@esri/hub-common";
const original = { foo: "bar" }
const copy = cloneObject(original)
copy.foo // "bar"
copy === original // false
Make a deep clone, including arrays. Does not handle functions!
Parameters
Returns
Function defined in common/src/util.ts:15