Bits

== vs ===

== ===
name abstract equality operator strict equality operator
type conversion Yes No
with null a == null // true a === null // False
with undefined a == undefined // true a === undefined // true
var a;

Prefer to use === over ==;

Reference