"==" vs. "==="
Learn JS Fundamentals to jQuery & Pure DOM Scriptingsome strange stuff
21 == "21" // true
undefined == null // true
undefined === null // false
21 === 21 // true
{} === {} // false
NaN === NaN // false
true = {valueOf: function(){return "1"}} // true