I'm just curious.. how does the performance differ between the different versions of conditional statements?
Namely:
if ( x == false) //doSomething
if ( x === false ) //doSomething
if ( !x ) //doSomething
!x && //doSomething
Personally, I would prefer using the 3rd one since it is a lot shorter than the other three. But I am a bit skeptic to whether I am unaware of a "possible" performance drawback. Even if it is just a difference of milliseconds, it matters for me.
Thanks!