DEV Community

loading...

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

Collapse
mcsee profile image
Maxi Contieri

Nice!

This is applied to structured programming and these operators are great.

In OOP you can remove all accidental IFs and elses

Collapse
sylwiavargas profile image
Sylwia Vargas Author

Awesome! I've linked up your blog post in mine just now!