🦕 Object clone
Deno module for deep object clone
Clone is available through:
Usage
import { clone } from "https://deno.land/x/object_clone@1.0.0/mod.ts";
const objA = {
foo: {
bar: "bar",
barFn: () => "bar",
},
};
const objAClone = clone(objA);
Test
deno test
Format code
deno fmt