📅  最后修改于: 2022-03-11 15:02:47.398000             🧑  作者: Mango
代码示例1
const numbers = [1, [2], [3, [4]], 5];
// Using JavaScript
JSON.parse(JSON.stringify(numbers));
// Using Lodash
_.cloneDeep(numbers);