Help me plase whats wrong ;;;; please

Tell us what’s happening:

Your code so far


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


// Only change code above this line
return product;
}

multiplyAll([[1,2],[3,4],[5,6,7]]);

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 9; SM-A105F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Mobile Safari/537.36.

Challenge: Nesting For Loops

Link to the challenge:

This isn’t valid syntax at all. I would review the lessons on writing loops, and on writing a nested loop.

Even if your syntax were correct, you’re writing three loops when you only need two, and each one is iterating over the array: the outer loop should iterate over the array, then the nested loop should iterate over the current nested array. You’re also reassigning the input to be an empty array, so there’s literally nothing there to multiply

Also I’m not sure what you’re trying to do here:

*[j] *[k];

But this is not at all valid syntax

I’d strongly suggest going back over the lessons relating to loops and arrays, you’re way off at the minute