DEV Community 👩‍💻👨‍💻

Discussion on: A New Coding Style for Switch Statements in JavaScript/TypeScript

nebrius profile image
Bryan Hughes Author

You beat me to my own argument 😉

That said, I myself have also used fall-through statements on rare occasions.

That that said (is that a thing?), scoping each case using {} doesn't prevent you from falling through case statements anyways.