Need an example explaining why use of comparison operands != and == is considered bad practice in JavaScript
javascript
Solution
"Use the strict equality operator (===) when you want to check that the two operands are of the same type and value. Use the regular equality operator (==) if you care only about the value and the type does not matter. If, for example, one operand is the number 5 and the other operand is the string "5", standard equality operator will return true, but, since they are not of the same type, a strict equality operator will return false." http://www.webreference.com/js/column26/stricteq.html
Problem
As I've read somewhere it is advised to use !== and === instead.