DEV Community

Discussion on: The shortest way to conditional insert properties into an object literal

Collapse
 
danderson profile image
Dale Anderson

It's a useful trick! There are a bunch of others at blog.bitsrc.io/6-tricks-with-resti... (not my post), including a concise way to remove properties from objects.