Comment on Ask HN: TIL JavaScript switch is weird – why?Comments−davelnewton9yThis is how switch statements work in a lot of curly-brace languages.Intentional fall-through isn't as rare as you seem to think, though--not useless at all.
Comments
This is how switch statements work in a lot of curly-brace languages.
Intentional fall-through isn't as rare as you seem to think, though--not useless at all.