摘要: 1:原型链基本概念及原型链继承方法 1.1 理解一下实例,原型,构造函数的关系 1 //构造函数 2 function father(){ 3 this.fatherName = "father"; 4 } 5 //原型对象 6 father.prototype.getFatherName = fu 阅读全文
posted @ 2016-12-15 14:35 会飞的小丑 阅读(222) 评论(0) 推荐(0) 编辑