Returns true if the two values are not equal.
Syntax
valueA != valueBExample
var foo = 7;
if (foo != 5)
return true; //Returns true because foo == 7.Remarks
If the two values are of different types, JavaScript will attempt to convert one of them to the same type as the other to perform the comparison.
