Today I Learned

hashrocket A Hashrocket project

How Javascript Boolean Comparison Works

true && true // true
true && false // false
false && false // false
true && null // null
true && undefined // undefined
See More #javascript TILs
Looking for help? At Hashrocket, our JavaScript experts launch scalable, performant apps on the Web, Android and iOS. Contact us and find out how we can help you.