摘要: 阅读全文
posted @ 2013-01-28 13:51 Zachary Flanagan 阅读(107) 评论(0) 推荐(0) 编辑
摘要: ----我以为的Function----1 function Function ( ) {2 this.prototype = new this() ; /*这就导致了所有的函数的原型都是对象;如:alert(typeof(Array.prototype));输出:object */3 this.prototype.constructor = this ; // 由上一条推想可得4 //... ...5 //[native code]6 //... ...7 }所有的函数:预定义:1 function Function () { ... 阅读全文
posted @ 2013-01-27 23:54 Zachary Flanagan 阅读(172) 评论(0) 推荐(0) 编辑