DEV Community

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

Collapse
 
sylwiavargas profile image
Sylwia Vargas

Yeah, it's definitely less "user-friendly" or "beginner-friendly". Coming from Ruby, it gave me chills but also I was really excited for the shorthand properties so — I'm as torn as you are there!