DEV Community

loading...

Discussion on: If (all) else is complicated, switch to switch?

Collapse
jmdejager profile image
🐤🥇 Jasper de Jager Author

I agree, the console.log was purely for the example. I also think most people will agree with you, my first feeling was also that it feels hacky. But... There are people that do use it, so it is good to know it exists 🙂

Forem Open with the Forem app