Conditionally Adding Keys To Javascript Objects Using Spread Operators

Conditionally Adding Keys To Javascript Objects Using Spread Operators