What is == operator?- The == operator in java script is used for determining equality of two variables or values.
- The expression returns true if both the values are equal.
- It is a boolean comparison operator that returns true if the variables on its both sides are compared equal else it returns false.
- It is one of the comparison operator which are used in the logical statement to determine equality or the difference between the variables or the values.
- These operators are used in the conditional statements that are used to compare the values and take the action depending on the result.
|