DEV Community

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

Collapse
 
sylwiavargas profile image
Sylwia Vargas

Oh, yes! Totally — and thank you! I actually wanted to include this as well but had to run for a lecture. I'll include this wonderful example (I may just change the names so it's easier for tired folks to follow) in the blog tomorrow — look for the shoutout!