DEV Community

Discussion on: There's no "else if" in JS

Collapse
 
qm3ster profile image
Mihail Malo • Edited

The brackets, if you put them in, do a great job of showing why the conditions up to a success are evaluated, but the ones after aren't.

No, I don't mean leaving brackets in your code is okay, I meant it as an exercise.