JavaScript List of Comparison Operators


Example

OperatorComparisonExample
==Equali == 0
===Equal Value and Typei === "5"
!=Not Equali != 5
!==Not Equal Value or Typei !== 5
>Greater thani > 5
<Less thani < 5
>=Greater than or equali >= 5
<=Less than or equali <= 5