DEV Community

Discussion on: If/else or just if?

Collapse
 
krusenas profile image
Karolis

don't forget the switch! :) quite often it's a lot cleaner solution than multiple if/else statements