Javascript nested array

var arr = [
  [1,2], [3,4], [5,6]
];
for (var i=0; i < arr.length; i++) {
  for (var j=0; j < arr[i].length; j++) {
    console.log(arr[i][j]);
  }
}

make me understand this code plzzzzzzzzzzzz.

Maybe review these challenges

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.