const numbers = [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9, 10, 11],
];
let largestArray = numbers[0].length;
for (let i = 1; i < numbers.length; i++) {
if (numbers[i].length > largestArray) {
largestArray = numbers[i];
for (let j = 0; j < largestArray.length; j++) {
console.log(numbers[i][j]);
}
}
}
//it will print 7, 8, 9, 10, 11 as these numbers are in largest array;