Why undefined == null is true but null == 0 is false?
Feb 17 · 3 min read · undefined == null → true, but null == 0 → false (WHY?) JavaScript equality is one of the most confusing topics for beginners. Consider these three statements: undefined == null // true undefined === null // false null == 0 // false At...
Join discussion



