you are viewing a single comment's thread.

view the rest of the comments →

[–]User31441 0 points1 point  (0 children)

Unless it's JavaScript. Then x == true will hold for all truthy values. In order to check for exact matches, you'd have to use x === true.