runeveryday — 2010-07-03T02:52:04-04:00 — #1
Non-primitive (objects). but why the return values of using typeof can be "function"? i feel this collide with the above.
autisticcuckoo — 2010-07-05T01:52:04-04:00 — #2
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.)
autisticcuckoo — 2010-07-04T01:12:22-04:00 — #3
runeveryday — 2010-07-04T01:24:32-04:00 — #4
but when you typeof a function, it will show function not object.why?
r51 — 2010-07-03T03:46:17-04:00 — #5