function mergeArr(arr1, arr2, res = []) { if(arr1.length === 0)return let arr = [] arr.push(arr1.shift()) arr.push(arr2.shift()) res.push(arr) mergeArr(arr1, arr2, res) } 请教一下用扩展运算符的思路