If one of the operands is Boolean, the Boolean operand is converted to 1 if it is true and +0 if it is false. (from MDN Comparison Operators page)
Examples:
true == "true"; //false
true == "1"; //true
false == "false"; //false
false == ""; //true
false == "0"; //true