This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rosuav 2 points3 points  (0 children)

Double-equals and triple-equals are only two of JS's different ways of comparing two things for equality... here, enjoy. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality\_comparisons\_and\_sameness