Bucle for estándar en JavaScript

Los arrays también se pueden recorrer no con el bucle for-of, sino con el for estándar:

javascriptlet arr = [[1, 2, 3, 4, 5], [6, 7, 8], [9, 10]];

for (let i = 0; i < arr.length; i++) {
  for (let j = 0; j < arr[i].length; j++) {
    console.log(arr[i][j]);
  }
}
Задание 1

Resuelva las dos tareas anteriores utilizando el bucle for.