摘要: 1. 原形链 function Father() { this.fatherName = "licus"; } function Children() { this.chidrenName = "king"; } Children.prototype = new Father(); 2.借用构造函数 阅读全文
posted @ 2016-12-27 19:59 C_Guangjin 阅读(189) 评论(0) 推荐(0) 编辑