Start using Object Literals
Let's start this post with a brief discussion about what are switch case and object literals and then we'll move to why to use Object literals instead of Switch-case statements.
Intro
Switch-Case
(Src => FreeCodeCamp.com) A switch statement tests a...
rahulism.hashnode.dev2 min read