摘要: /* 代码复用 */ /* 一、避免 */ /* 模式1:默认模式 */ function Parent() { this.name = "123"; } Parent.prototype.say = function () { return this.name; } function Child(n... 阅读全文
posted @ 2015-07-31 13:52 RyanRuan 阅读(218) 评论(0) 推荐(0) 编辑
View Code