摘要: <script type="text/javascript">function inheritPrototype(subType,superType){ var prototype = Object(superType.prototype);//创建对象 prototype.constructor = subType;//增强对象 subType.prototype = prototype;//指定对象}function SuperType(name){ this.name = name; this.color = ["red"," 阅读全文
posted @ 2012-07-24 09:47 ~吉尔伽美什 阅读(146) 评论(0) 推荐(0) 编辑