As far as I can eyeball this early in the morning, they should both collapse down to the same set of elements fairly early in the parsing process.
What's far more important is that when it comes time to maintain the code, one will be easier to continue on in "switch/case" fashion (if/else if/else if/...). The other is more conducive to "if /else {if/else}" type logic. Which might require a few more milliseconds on the programmer's side to work through.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.