What if you want to set a value conditionally to 0
or some non-zero value?
var x = condition() && 0 || 1;
That won't work, because 0
is falsy.
var x = condition() ? 0 : 1;
will work, because evaluation does not rely on the coerced boolean values.