Stop Using Conditional Statements Everywhere in JavaScript, Use an Object Literal instead

Go to link: Stop Using Conditional Statements Everywhere in JavaScript, Use an Object Literal instead

Author

A photo of Bojan Vidanovic

Bojan Vidanovic is a front-end developer at Subito.it, and also creator of Lynky and Dev & Gear. Love making internet products, blogging, learning, reading, calisthenics and fitness enthusiast.