DEV Community

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

Collapse
 
kaptenadhoc profile image
Reply guy 🤷‍♂️

To me, more terse code is almost always easier to parse. Of course, everyone's different. There's not really a one size fits all solution. You'll have to agree with your team on a working standard.