Boolean comparison in JavaScript has a bug | Dark Hacker News