loading...

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

Collapse
kepta profile image
Kushan Joshi

But you can continue digging how it works till you reach the bits of a processor.

I get it you can write ‘if’ ‘else if’ ‘else’ with just ‘if’ ‘else’. And from reading your post it seems the browser might be internally doing it.
But what is the actual value in this revelation.
By no means I am trying disrespect this post, just trying to understand the point.

For the sake of argument one can even write everything with Bitwise OR, AND operator, but we don’t see people writing about it.

Thread Thread
genta profile image
Fabio Russo Author

I'm NOT explaining HOW it works :D
I'm trying to discuss about, all the time we code by rules without knowing the why