5 3 1 2 logical or c2 b6

Solutions on MaxInterview for 5 3 1 2 logical or c2 b6 by the best coders in the world

showing results for - "5 3 1 2 logical or c2 b6"
Brandon
14 Jan 2017
1/*JavaScript's logical OR operator, ||, also creates compound boolean
2expressions. This operator takes two operands, and the resulting 
3expression is true if either of the operands are true individually. 
4If both operands are false, the overall expression is false.*/
5
6console.log(7 > 5 || 5 > 3);
7console.log(7 > 5 || 2 > 3);
8console.log(2 > 3 || 'dog' === 'cat');
9
10//true
11//true
12//false
similar questions
queries leading to this page
5 3 1 2 logical or c2 b6