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