Just to expand on what coothead says, the tipple equals is also called the “strict equals” operator.
It never does type coercion, so whenever you use it, you are ensuring the values are also of the same type.
E.g.
var a = “0”; // a is a String
console.log(a == 0);
> true
The double equals operator converts the string into a number before doing the comparison.
However:
var a = “0”; // a is a String
console.log(a === 0);
> false
No type coercion takes place and false is returned, as a String is not equal to a Number.
There are enough articles on why it is a good idea to use === and not ==