JavaScript:Function/Object/prototype/__proto__

console.log(Object.__proto__===Function.prototype);   //true
console.log(Object.prototype.__proto__);              //null
console.log(Function.__proto__===Function.prototype); //true

总结结果:              黑线:prototype       红线:__proto__

Object.prototype

Function.prototype

Object

Function

 

http://www.cnblogs.com/siemon/archive/2009/08/02/1537095.html

http://www.blogjava.net/heavensay/archive/2013/10/20/405440.html

http://chauvetxiao.com/bo-blog/read.php?11

http://anykoro.sinaapp.com/2012/01/31/javascript%E4%B8%ADfunctionobjectprototypes__proto__%E7%AD%89%E6%A6%82%E5%BF%B5%E8%AF%A6%E8%A7%A3/

 

posted @ 2013-12-13 17:10  hongdada  阅读(414)  评论(0编辑  收藏  举报