摘要: JS 继承 > 1、对象的继承,一般的做法是复制:Object.extend prototype.js的实现方式是: Object.extend = function(destination, source) { for (property in source) { destination[prop 阅读全文
posted @ 2016-10-13 10:21 大猫Cssly 阅读(226) 评论(0) 推荐(0) 编辑