JSON.parse

JSON.parse(JSON.stringify()) 这种深拷贝方法存在 局限性,数组
使用第三方库(如 lodash.cloneDeep)进行完全深拷贝

posted @ 2025-07-10 16:52  枫若  阅读(3)  评论(0)    收藏  举报