Generate a Multiplication table of 20 using Map function of JavaScript

Rajnilari2015
Posted by Rajnilari2015 under JavaScript category on | Points: 40 | Views : 318
In the below code, we will find an example that generate a Multiplication table of 20 using Map function of JavaScript

console.log([1,2,3,4,5,6,7,8,9,10].map(function(x){return x + "* 20  = " + x * 20;}));

Comments or Responses

Login to post response