OPERATOR | DESCRIPTION | |
== | Equal to | a==b |
=== | Equal Vlaue and equal type | Data type must be equal |
!= | Not Equal | |
!== | Not equal value or not equal type | |
> | greater than | |
< | Less than | |
>= | Greater than or equal to | |
<= | less than or equal to |
<script> var a = 9; var b = "10"; document.write(a<=b); </script> <script> var a = null; var b = undefined; document.write(a === b); </script> <script> var a = 10; var b = 13; document.write(a !== b); </script>