DEV Community


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

sylwiavargas profile image
Sylwia Vargas Author

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!