Similar to typeof, but distinguish plain objects from null and arrays
typeof
null
'null' for null, 'array' for arrays, or the result of typeof for everything else.
'null'
'array'
Similar to
typeof, but distinguish plain objects fromnulland arrays