87,907
社区成员
发帖
与我相关
我的任务
分享
function classB(sColor, sName) {
var a= this.newMethod = classA;
var b= this.newMethod(sColor);
alert(a==b)
delete this.newMethod;
alert(typeof a)
alert(typeof b)
this.name = sName;
this.sayName = function () {
alert(this.name);
};
}