把一个数组 赋值给一个新数组

let newArr = JSON.parse(JSON.stringify(arr))

  

posted @ 2020-06-12 15:37  仙乄  阅读(840)  评论(0编辑  收藏  举报