Last week, someone tweeted: Woah, this is elegant JavaScript. Need to conditionally add a property to an object? Here’s a slick approach. The right-hand side is only applied if the condition is true. If the condition is falsy, the spread operator does nothing. They shared this code snippet from an article by Andrea Simone Costa: This is not a dig at Andrea. That code is really clever! But we’ve be