▲ 3 Different Ways to Remove a Property from a NodeJS Object at coderrocketfuel.com▼1 up and 0 down, posted by nmaafwe 1958 days ago 1 comment
tracker1 1957 days ago. link 1 point ▲ ▼In addition to #3 let { propToRemove, ...newObj } = oldObj; then throw away the propToRemove. Also, if you are serializing and set the value to `undefined`, then it won't be JSON stringified into the output.