undefined === null => false
undefined == null => true
I have thought about the reason of
undefined == null
and found out only one case:if(document.getElementById() == null) ....
Is there any other reason to make (
undefined === null) == false
?Is there any other examples of use
===
- operation in javascript?