📅  最后修改于: 2022-03-11 15:01:54.530000             🧑  作者: Mango
代码示例1
let arr1 = [1,2,3,4,5]
let arr2 = arr1 // copies the reference of the array
arr2 = [...arr1] // copies the values of the array