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

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

  

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