Everyone will do the same, while others are not subject to errors than others. If you used !==, and not !=, then the second two would be true if the value were null(second) or undefined(third), since the operator !==does not force.
Javascript will support values during comparisons to !=or ==, for example:
alert(false == 0); // alerts "true"
alert(false === 0); // alerts "false"
=== !== . , , ( ), " 0, "", null undefined?" if (thingy), . 0, "", null undefined "".
Sean Kinsey , , , DOM, . , , COM , if (comObject.property), true, if (comObject.property == null) true. ( COM, API- , , Javascript, .) , . Javascript ( ) DOM, .