DEV Community


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

sylwiavargas profile image
Sylwia Vargas Author

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!