JavaScript(JS) JS display the multiplication table

www.igi‮oc.aeditf‬m

To display the multiplication table in JavaScript, you can use a nested for loop to multiply each number from 1 to 10 with every other number from 1 to 10. Here's an example code snippet:

for (let i = 1; i <= 10; i++) {
  for (let j = 1; j <= 10; j++) {
    let product = i * j;
    console.log(`${i} * ${j} = ${product}`);
  }
}

This will output the multiplication table from 1 to 10 in the console. You can modify the range of the loop and the message inside the console.log to adjust the multiplication table as per your needs.