Mr.J--JS學習(繼承模式發展史)

Javascript繼承模式發展史 1.call/apply方法 Grand.prototype.LastName = "Y"; function Grand(){ } var grand = new Grand(); Father.prototype = grand; function Father(){ this.name = "he
相關文章
相關標籤/搜索