tableau deux dimensions traversant en JavaScript
const numbers = [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9, 10, 11],
];
for (let i = 0; i < numbers.length; i++) {
for (let j = 0; j < numbers[i].length; j++) {
console.log(`Index Point [${i}, ${j}], value = ${numbers[i][j]}`);
}
}
Md. Ashikur Rahman