public/src/js/utils/clean-clone.js (
3
lines of code) (
raw
):
export default function(obj) { return obj === undefined ? undefined : JSON.parse(JSON.stringify(obj)); }