The equality (==) operator checks whether its two operands are equal,
returning a Boolean result.
Unlike the strict equality operator,
it attempts to convert and compare operands that are of different types....if one of the operands is document.all , it is treated as if...means that document.all == null is true , but document.all === undefined...