javascript关于继承的笔记
摘要:<script type="text/javascript"> function ClassA(){ } ClassA.prototype.color = "red"; ClassA.prototype.sayColor = function(){ alert(this.color); } func
阅读全文
posted @ 2019-01-29 16:35
posted @ 2019-01-29 16:35