let arr = [1,2,3,{name:'lxh',age:18}] let arrCopy = arr.slice() console.log('arr==',arr) console.log('arrCopy==',arrCopy)