JavaScript’s Conditional Object Properties: The Wizardry That Changed How I Build Objects Use this one-liner trick to conditionally add properties in JavaScript without messy if statements. Continue reading on JavaScript in Plain English » Click here to read the article