题目一示例: 适用于子数组等长度及不等长度. let arr = [ [1,2,3], [5,6,7,8], [9,10,11,12,13] ] function arrayDiagonal(arr) { let lenarr = []; for(let s = 0; s < arr.length;s ++) { lenarr.push(arr[s].length) } let arrChildlen = Math.max.apply(null,lenarr); console.log(arrC…