Why undefined == null is true but null == 0 is false?
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...
Feb 17, 20263 min read26
