July 10, 2007 § Leave a comment
As it is similar to almost many other languages,
== checks the equality of values on both sides.
While === checks the equality of values as well as data type on both sides.
null == undefined is True, but
null === undefined is False.