UNPKG

wasmuth

Version:

Practical, functional utilities that fallback on native implementations as much as possible

10 lines (7 loc) 202 B
const test = require("tape"); const {pathRemove} = require("../"); test("pathRemove", (t) => { const obj = {a: {b: 2, c: 3}}; t.deepEqual(pathRemove(["a", "b"], obj), {a: {c: 3}}); t.end(); });