Common JavaScript Manual/Logic and Comparison operators

Logic operators
There are three logical operators in JavaScript. It are "not","and","or". Let's see example.

Comparison operators
In parts of the previous file you've already seen some of these operators, and certainly understand their meaning but in anyway. There are 8 comparison operators in JavaScript. And for example:

XOR Hack
In JavaScript there is no operator XOR (also named Exclusive OR). But we can write function that use bitwise XOR and return booleadn XOR of two arguments. And let's use it.