Nesting For Loops problemo!

Tell us what’s happening:
i cant figure out why it doesn’t work, i submit it the first time and it worked then i try to do it a different way that dindn’t work, i then did it like the first the one i’m posting and it returns 1.

Your code so far

function multiplyAll(arr) {
  var product = 1;
  // Only change code below this line
  for (var i = 0; i < arr.legth; i++){
    for (var j = 0; j < arr[i].legth; j++){
      product*= arr[i][j];
  // Only change code above this line
  return product;

// Modify values below to test your code

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36.

Link to the challenge:

Not sure if it solves all your problems, but you misspelled length.