Boolean comparison in JavaScript has a bug
tqdev.com