DEV Community

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

Collapse
 
sylwiavargas profile image
Sylwia Vargas

Definitely! I like that you are using the typical for OOP callbacks to do the if/else job! Thanks!