JavaScript 合并二维数组(还是对象?emmm 作者: Chuwen 时间: 2019-08-11 分类: JavaScript # 实现方法 ``` let arr = {id: [1, 2, 3]}, arr2 = {name: ["apple", "banana", "pear"]} Object.assign({}, arr, arr2); ``` 标签: JavaScript, Object