Top
Fork me on Gitee My Github
摘要: 数组对象的深拷贝 function copydeep(obj) { var newobj = obj.constructor Array ? [] : {}; if (typeof obj !== 'object') { return; } for (var i in obj) { newobj[i 阅读全文
posted @ 2020-07-23 12:22 lisashare 阅读(82) 评论(0) 推荐(0) 编辑