DEV Community

loading...

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

Collapse
sylwiavargas profile image
Sylwia Vargas Author

THANK YOU! YES, I was soooo tempted to touch on Promises but then majority of folks who read my blogs (maybe less so now?) are beginners so I'm planning to write a separate thing on promises in general. However, I'll link your comment in the article because I love your example! Thank you.