Let’s correct the conditions and experiment a little.
==in the first condition.
!=in the second condition.
- Set the variable
blueto the string value
'2'instead of a number one and watch the result. Surprisingly, the conditions will work as before.
- Now in the first
==with the operator of strict correspondence
===. This time, the first condition must not be fulfilled.