import { dissoc } from "https://deno.land/x/fae@v1.1.1/dissoc.ts";
Makes a shallow clone of obj
, deleting props
from the new object.
All non-primitive properties are copied by reference.
Fae.dissoc('b', {a: 1, b: 2, c: 3}); //=> {a: 1, c: 3}
import { dissoc } from "https://deno.land/x/fae@v1.1.1/dissoc.ts";
Makes a shallow clone of obj
, deleting props
from the new object.
All non-primitive properties are copied by reference.
Fae.dissoc('b', {a: 1, b: 2, c: 3}); //=> {a: 1, c: 3}