js里的对象克隆

JSON.parse(JSON.stringify(obj));   obj为克隆的对象

posted @ 2021-04-25 19:45  玄空2  阅读(41)  评论(0编辑  收藏  举报