JavaScript Interview Question: == vs ===
Short answer: === (strict equality) compares value and type with no conversion. == (loose equality) converts the operands to a common type first, which leads to surprising results. 1 === '1' // false - different types 1 == '1' // true - '1' converted to 1 0 ==...