Javascript Tips, Front End Development, Webdesign And Development, Programming, JavaScript.
undefined; // true undefined == null; // true 3. ToPrimitive Conversion of non-primitives if we compare non-primitives like Object and arrays, == (Abstract Equality) first convert them to their non-primitive equivalent by calling toString() method. [] == ""; // [ ] will be converted into string