The type of null is not "null" as expected. It's "object". Why? Old bug!
null
typeof null; // logs "object"
typeof null;
typeof 'null';