Nesting Code not working

Nesting Code not working
0

#1

Hi , following is my code , I could not find out what’s wrong with it , every time I click on Run the test button nothing shows up , no result , not errors , please help.

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

// Modify values below to test your code
multiplyAll([[1,2],[3,4],[5,6,7],[8,9,7]]);

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/nesting-for-loops/


#2

Reload your browser and Run.
I paste your code and it worked.


#3

Make sure to run your code on a browser such as Chrome.