javascript學習心得體會一

js中自定義函數(對象中)prototype屬性函數 function Demo(name,age)this {prototype        this.name=name;對象       this.age=age;io }function Demo.prototype.show=function()變量 {引用           alert("我是Demo類屬性中的成員函數,非靜態的喲")
相關文章
相關標籤/搜索