DEV Community

loading...

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

Collapse
kulpras profile image
Prasanna Kulkarni

I liked the way you explained. Will use object literals in my future projects.

Collapse
lukyhenson profile image
Tauan Tathiell Author

Hey man appreciate that.. thanks a lot