javascript – Can (a== 1 && a ==2 && a==3) ever evaluate to true? – Stack Overflow
javascript - Can (a== 1 && a ==2 && a==3) ever evaluate to true? - Stack Overflow
Yes, it can. IMHO it is one of the several undesirable consequences of loosely typed languages. In fact, according to an almost anonymous user:
If you take advantage of how ==
https://monodes.com/predaelli/2023/11/21/javascript-can-a-1-a-2-a3-ever-evaluate-to-true-stack-overflow/
#Documentations #Javascript #Tricks
javascript – Can (a== 1 && a ==2 && a==3) ever evaluate to true? – Stack Overflow
javascript – Can (a== 1 && a ==2 && a==3) ever evaluate to true? – Stack Overflow Yes, it can. IMHO it is one of the several undesirable consequences of loosely typed la…Paolo Redaelli