I'm SO glad Zed has pointed this out! I dislike code like this and I dislike it even more when people say K&R style is the best, it's classic, believe/follow the creators of the language!
Fu that.
It's error prone, just like Zed says. Add braces, don't be lazy, it makes the code flow easier on the eye.
IMO, In JS, it's painfully dangerous to be "too" clever as well.
Sometimes I like to think about it like so: Will someone else "with less skill than me" be able to follow this code after me?
Then again, being human I sometimes fail to think this way :(.