SyntaxFix
Write A Post
Hire A Developer
Questions
How about this:
let clone = Object.assign({}, value); delete clone.unwantedKey;