import { dissocPath } from "https://deno.land/x/fae@v1.1.1/dissocPath.ts";
Makes a shallow clone of an object obj
, deleting value at
at the given path
. Note that this copies and flattens prototype properties onto the
new object as well. All non-primitive properties are copied by reference.
Fae.dissocPath(['a', 'b', 'c'], {a: {b: {c: 42}}}); //=> {a: {b: {}}}