繼承(2)

4.所以就引出了最後一種模式————聖盃模式。 方法還是公有原型。                Father.prototype                function F(){}                F.prototype = Father.prototype                Son.prototype = new F(); 這個Father.prototype
相關文章
相關標籤/搜索