Why does 1 == True but 2 != True
In JavaScript, the double equals (==) operator performs type coercion when comparing two values. Type coercion is the process of converting one type of value to another type in order to compare them.
When comparing a boolean value like true to a non-...
iamtoufiq.hashnode.dev3 min read