I was wondering if it is somehow possible to delete multiple object properties with a one-liner in React?
I know about the delete
-command: delete obj.property
but since I'm deleting multiple numbers of object properties it would be nice to do this on one line instead of writing each time delete obj.property
for every object that I'd like to delete.