摘要: 深度克隆 function deepClone(source) { // 判断是否数组或对象 if (source.constructor != Array && source.constructor != Object) { return source } const targetObj = so 阅读全文
posted @ 2023-06-05 10:38 独眼霹雳 阅读(14) 评论(0) 推荐(0)