继承(2)

4.所以就引出了最后一种模式————圣杯模式。 方法还是公有原型。                Father.prototype                function F(){}                F.prototype = Father.prototype                Son.prototype = new F(); 这个Father.prototype
相关文章
相关标签/搜索