javascript __proto___ prototype和Function原代碼狂想

----我以爲的Function---- 1 function Function ( ) { 2 this.prototype = new this() ; /*這就導致了所有的函數的原型都是對象;如:alert(typeof(Array.prototype));輸出:object */ 3 this.prototype.constructor = this ; // 由上一條
相關文章
相關標籤/搜索