Javascript "map" function
let arr=[10,20,30];
//map property
//this is map function property in which
//each element of array iterate with function
//which is written inside the map function .
let ansArray= arr.map((number)=>{
return number*number;
})
console.log(ansArray) ;