deep-clone-04f68e5b.js 210 B

1
  1. const r=t=>{if(null===t)return null;const e=Object.assign({},t);return Object.keys(e).forEach((n=>e[n]="object"==typeof t[n]?r(t[n]):t[n])),Array.isArray(t)?(e.length=t.length,Array.from(e)):e};export{r as d};