Loading homepage
Input: const node={name:"root"}; node.self=node; const copy=deepClone(node); [copy!==node,copy.self===copy] Output: [true,true]
Input: const shared={n:1}; const copy=deepClone({a:shared,b:shared}); [copy.a===copy.b,copy.a!==shared] Output: [true,true]
Implement the exported API in index.js or index.ts using the documented contract.