摘要: 1、递归 function deepCope (obj) { // 要拷贝的数据为引用类型属性(数组或对象) if (obj && typeof obj 'object') { const copeObj = Array.isArray(obj) ? [] : {}; // const copeOb 阅读全文
posted @ 2021-04-24 14:32 YINGYAN 阅读(78) 评论(0) 推荐(0) 编辑