论坛首页 入门讨论版 JavaScript

typeof Function.prototype 为什么是function()

浏览 109 次
该帖已经被评为新手帖
作者 正文
时间:2008-05-12
难道不是 object吗?
   
时间:2008-05-12

Type Result
Undefined  "undefined"
Null "object"
 Boolean "boolean"
Number "number"
String "string"
Object (native and
doesn’t implement
[[Call]])
"object"
Object (native and
implements [[Call]])
"function"
Object (host) Implementation-dependent

没啥 规定的

因为可以Function.prototype() 

   
1 请登录后投票
时间:2008-05-13

谢谢。实现 call的就是function。
   
0 请登录后投票
论坛首页 入门讨论版 JavaScript

跳转论坛:
JavaEye推荐
    快速回复 引用上一条消息 (Alt+S)