DEV Community

Discussion on: Basics of switch cases and defaults

jennakoslowski profile image
JennaKoslowski Author

I've definitely noticed myself leaning on those when I know there are other ways to do what I need to do (especially working with arrays) so I've been trying not to lean on them as much. I think it's because it's clearer logic but I'm definitely going to go look at what you listed!