In hacking on the gRaphaĆ«l code base, I came across a recurring pattern syntax pattern I hadn’t encountered in JavaScript before.
Essentially, instead of using this very common conditional construct:
if (a) b;
The author uses:
!a && b;
Similarly,
if (a) b; else c;
Is written:
!a && b; a && c;
I was curious about the performance difference between the styles, and [...]