Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
&& is a logical and (both conditions need to be true) || is a logical or (at least one condition needs to be true) ^ is a xor (exactly one condition needs to be true) (== compares objects by identity) For example: if (firstCondition && (secondCondition || thirdCondition)) { ... }
29th May 2020, 6:30 AM
MohammaD ReZa
MohammaD ReZa - avatar