DEV Community 👩‍💻👨‍💻

Discussion on: How to write a great switch statement in JavaScript

Collapse
 
harryadel profile image
Harry Adel

Was just about to point the same thing. I feel switch statements are obsolete when you got bracket notation that allows you to do the same thing in a much simpler way.