Change == to === for preventing type coercions.

As a good practice you should use === instead of == as much as possible.
Because == causes implicit coercions.

0 == false; // => true
0 === false; // => false