I was curious if my assumption regarding if/else statements is a correct. When defining the condition, for example if (isSoccerFan === true), I noticed that if I use only one = symbol, it checks for the opposite case. I.E. (isSoccerFan = true) is actually checking the condition that I am not a soccer fan.
Don’t know if this was just a bug of the system or if my assumption is actually correct.
Thanks in advance!