摘要: function clone(obj) { var newObj; if (typeof obj === 'object') { if (Object.prototype.toString.call(obj) === '[object Array]') { newObj = []; var i = obj.length; while (i--) { newObj[... 阅读全文
posted @ 2014-02-08 11:17 许仙来了 阅读(130) 评论(0) 推荐(0) 编辑