!NN 2 IE 3 ECMA 1

This is the NOT operator. This unary operator evaluates to the negative value of a single Boolean operand. The NOT operator should be used with explicit Boolean values, such as the result of a comparison or a Boolean property setting.

 
Example
 
if (a == !b) {
    ...
}