zaagan
6/29/2019 - 11:22 AM

Logical Operators

Logical Operators

/*  Logical Operators

Here x = 6 and y = 3

&&    Logical and  
Example : (x < 10 && y > 1)  | Output : true

||    Logical or
Example : (x === 5 || y === 5)  | Output : false

!     Logical not 
Example : !(x === y)  | Output : true

*/