摘要: var a = [{id: 1},{id: 2}];var b = [...a];b[0].id = -1;console.log(a,b) 阅读全文
posted @ 2022-09-21 09:08 古德拉克 阅读(18) 评论(0) 推荐(0) 编辑