Original Type:
undefined
、null
、string
、number
、boolean
、symbol(es6新增)
null is not an object:
null
In fact, not an object, even though typeof null
the output is object
, but this is actually a bug. Used in the original version is 32 js system, in order to consider the type of performance information stored in the status variable, 000
the beginning indicates the type of object, but null
all 0s, and therefore null
is judged as the object type.