Stop Using Conditional Statements Everywhere in JavaScript, Use an Object Literal instead
UpdatedAround this post
Replies and reactions from across the web.
Responses from other websites appear here.
Replies and reactions from across the web.
Responses from other websites appear here.