JavaScript Comparison Operators
JavaScript supports the following comparison operators − Assume variable A holds 10 and variable B holds 20, then − Sr.No Operator and Description 1 = = (Equal) Checks if the value of two operands are equal or not, if yes, then the condition becomes true. Ex: (A == B) is not true. 2 != (Not … Read more