Fix test cases
This commit is contained in:
@ -16,7 +16,7 @@ const cleanObj = (obj, keysToKeep = [], childIndicator) => {
|
||||
})
|
||||
}
|
||||
/*
|
||||
testObj = {a: 1, b: 2, children: {a: 1, b: 2}}
|
||||
const testObj = {a: 1, b: 2, children: {a: 1, b: 2}}
|
||||
cleanObj(testObj, ["a"],"children")
|
||||
console.log(testObj)// { a: 1, children : { a: 1}}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user