SOURCE
JavaScript
Result
// 深拷贝一个数据 let arr = [1,2,3] let arr1 = JSON.parse(JSON.stringify(arr)) console.log(arr1)
console 命令行工具
X
clear
>
console