//继承//1、对象冒充/*functionClassA(sColor){this.color=sColor;this.sayColor=function(){alert(this.color);};}functionClassB(sColor,sName){this.newMethod=ClassA;this.newMethod(sColor);deletethis.newMethod;this.name=sName;this.sayName=function(){alert(this.nam..
分类:
Web程序 时间:
2015-04-28 12:06:00
阅读次数:
107