js数组深拷贝时间:2021-01-25 19:53:54 var arr = [1, 2, [3, 4], 4, 5, 6]; var [...arr2] = arr; arr2[2] = [1992, 1598]; console.log(arr); console.log(arr2);