DEV Community

Discussion on: Replace your switch statement and multiple "if and else", using Object Literals - [en-US].

Collapse
 
seanmclem profile image
Seanmclem

I like your approach better, and agree with your logic for using it. keep it up

Thread Thread
 
tauantcamargo profile image
Tauan Tathiell

Thanks man ... let's keep sharing knowledge...