May
27th
Tue
27th
(true && 1) || 0
Which one would you choose?
>> (true && 1) || 0 => 1 >> (false && 1) || 0 => 0 >>or
>> true ? 1 : 0which one is much faster?