摘要: 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... 阅读全文
posted @ 2013-03-01 10:43 microsoft_kk 阅读(238) 评论(0) 推荐(0) 编辑