Comparison Operators

OperatorDescriptionExampleResult
==Loose Equality3 == "3"true
===Strict Equality3 === "3"false
!=Loose Inequality3 != "3"false
!==Strict Inequality3 !== "3"true
>Greater than4 > 3true
<Less than4 < 3false
>=Greater than or equal4 >= 4true
<=Less than or equal4 <= 5false

12 / 21