摘要:
1. 使用对象冒充实现继承function Person(username){ this.username=username; this.sayHello=function(){ alert(this.username); }}function Child(username,password){ this.superUserName=Person; this.superUserName(username); delete this.superUserName; this.sayWord=function(){ ale... 阅读全文