DEV Community

loading...

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

Collapse
sylwiavargas profile image
Sylwia Vargas Author

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