DEV Community

Discussion on: 5 ways to refactor if/else statements in JS functions

Collapse
 
sylwiavargas profile image
Sylwia Vargas

Thank you for these examples! Coming from Ruby, this is something I definitely instinctively lean towards and catch myself writing sometimes 😂 I'll include you're examples in the blog post!