<script>
var number = parseInt(prompt("Enter the number which you multiple and create table"));
var range = parseInt(prompt("Enter the number which you multiple and Range"));
for(let i =1 ; i <=range ; i++){
const result = i * number;
console.log(result);
}
</script>
Thanks you for commenting your questions. I will see question and respond you.