1、应用rest

let newarr = [...oldarr]

2、json.stringify + json.parse

3、其余深拷贝的办法