```
function smallestCommons(arr) {
var max = Math.max(arr[0],arr[1]);
var min = Math.min(arr[0],arr[1]);
var arrAll = [];
var divider = 0;
for (var i = min; i <= max; i++) {
console.log( "numbs " + i);
arrAll.push(i);
}
return isNums(arrAll,0,max);
}
function isNums(arr,i,num){
if (i === arr.length) {
return num;
}
if (num % arr[i] !== 0) {
return isNums(arr,0,num+1);
}
return isNums(arr,i+1,num);
}
```

When the array is 1,5 like the example the output is 60 (OK)

But when the output should be bigger like the example 18,23 I get Maximum call stack size exceeded