DEV Community

Discussion on: Using the Switch Statement with Logical Operators

Collapse
 
merri profile image
Vesa Piittinen

You don't need a break if you return :)

Collapse
 
jasterix profile image
Jasterix

good point. I'll update the code to reflect this