The inequality operator consists of an exclamation point followed by an equal sign: !=
It is NOT this symbol: <>
Code:
<script type="text/javascript">
//<![CDATA[
a = 2;
b = 2;
c = 5;
document.write("a != b : ", a!=b, "<br />");
document.write("b != c : ", b!=c, "<br />");
//]]>
</script>
Output: