I just noticed that following expression is true in JavaScript:
typeof (null) == 'object'
That seems really weird, suppose I have a variable with null value and typeof returns object for this variable!
I want to know why typeof (null) is object in JavaScript?