Consensus at the most recent meeting of a local Javascript focus group was that "===" should be used unless you seriously know that you want "==".
Pointy
2010-03-01 19:12:04
Consensus at the most recent meeting of a local Javascript focus group was that "===" should be used unless you seriously know that you want "==".
=== will test the types of the two operators instead of just the values. == is acceptable for most uses.