![Simon Høiberg on Twitter: "JavaScript Question ❓ If statement or switch statement? Which syntax do you prefer? 🤔 https://t.co/WEnBAK3kYY" / X Simon Høiberg on Twitter: "JavaScript Question ❓ If statement or switch statement? Which syntax do you prefer? 🤔 https://t.co/WEnBAK3kYY" / X](https://pbs.twimg.com/media/EpBs72jW8AALckf.jpg:large)
Simon Høiberg on Twitter: "JavaScript Question ❓ If statement or switch statement? Which syntax do you prefer? 🤔 https://t.co/WEnBAK3kYY" / X
Simon Høiberg on LinkedIn: JavaScript Tip 💡 Use object lookup instead of switch/if. In situations… | 118 comments
![Basic JavaScript: Multiple Identical Options in Switch Statements · Issue #40032 · freeCodeCamp/freeCodeCamp · GitHub Basic JavaScript: Multiple Identical Options in Switch Statements · Issue #40032 · freeCodeCamp/freeCodeCamp · GitHub](https://user-images.githubusercontent.com/16948721/96452758-1e613b80-11df-11eb-9c8c-8627a9160b1b.png)