```
function smallestCommons(arr) {
var array=[];
var mul=[];
var max=Math.max(arr[0],arr[1]);
var min=Math.min(arr[0],arr[1]);
for(i=max;i>=min;i--){
array.push(i);
}
for(i=0;i<array.length;i++)
{
for(j=1;j<=20;j++)
{
mul.push(array[i]*j);
}
}
return mul;
}
smallestCommons([1,5]);
```

here is my code for smallest common multiple. i am getting the multiplication of every number in array up to 20. But i don’t know how to return the common number from them. Help Me.