I want help with this problem mutiplication table

I am beginner in js so the problem asked me to print table of multiplication table from 1 to 10
let multipleTable=[1,2,3,4,5,6,7,8,9,10],[1,2,3,4,5,6,7,8,9,10];
for (i=1;i<multipleTable.length;i++) {
for(j=1;j<multipleTable.length;j++){
ij;
console.log(“”,multipleTable[i],"
“,”",multipleTable[j]);
}
}

I hope this helps you…

let multipleTable=[1,2,3,4,5,6,7,8,9,10]
//loop through the arr
for(let i=0;i<multipleTable.length;i++){

for(let j=1;j<=10;j++){
   // times each value of the arr 1-10 || or any value you want
  let result=multipleTable[i]*j;
    console.log(`${multipleTable[i]}*${j}=${result}`)
}

};

thank you for giving me a solution

but i have a question why did you make i=0 and j=1

you could make j =0, i was multiplying each value in the array with 1 -10 ,if you make j=0,then it would multiply each value with 0-10 …