Extra fixes (#1185)

This commit is contained in:
Brian Dashore
2023-09-26 02:53:04 -04:00
committed by GitHub
parent 03e5ca054d
commit bfda5a5492
5 changed files with 15 additions and 24 deletions

View File

@ -988,12 +988,3 @@ export function uuidv4() {
return v.toString(16);
});
}
/**
* Clones an object using JSON serialization.
* @param {any} obj The object to clone.
* @returns {any} A deep clone of the object.
*/
export function deepClone(obj) {
return JSON.parse(JSON.stringify(obj));
}