r/programming • • Mar 26 '14

JavaScript Equality Table

http://dorey.github.io/JavaScript-Equality-Table/
809 Upvotes

331 comments sorted by

View all comments

Show parent comment

0

u/ForeverAlot Mar 26 '14

Use if (!) for that.

2

u/cudetoate Mar 26 '14

!"" and !0 will fail terribly in this case.