DEV Community

Discussion on: Opinionated use of JavaScript Switch-Case

Collapse
 
rfornal profile image
bob.ts

I agree that yours might be clearer with a smaller example, but when using something with dozens of variables, it's clear and the flexibility is really nice.