js输出二维数组最长的子数组 var a=[[5,6,7],[15,16,8,7],[3,23,44,55,66]];var max=a[0].length;for (var i = 1; i < a.length; i++) { if (max<a[i].length) { max=a[i].length; var b=i; }}aler... Other 2023-08-20 46 点赞 0 评论 69 浏览