摘要: 1、Function.apply,用于构造函数的继承,继承另外一个构建对象的属性与方法function People(name,age){ this.name = name; this.age = age;}function Student(age){ this.age = age; People.... 阅读全文
posted @ 2014-09-19 19:21 刘金宇 阅读(332) 评论(0) 推荐(0) 编辑