Non-primitive (objects). but why the return values of using typeof can be "function"? i feel this collide with the above.
Probably because it's important enough to tell functions from other types of objects, and because it is possible to detect it. (A function object implements
[[Call]] as described in the ECMA-262 standard.)
but when you typeof a function, it will show function not object.why?