**Tell us what’s happening:**

Describe your issue in detail here.

I tried to solve this challenge using my own head but ended up explode my mind.

Can someone help me spot my mistake

```
**Your code so far**
```

```
function smallestCommons(arr) {
arr = arr.sort((a,b) => a-b);
let [small,large] = [...arr];
let newArr = [];
var result;
for (let i = small; i <= large; i++) {
newArr.push(i)
}
function check(num) {
for (let j = 0; j < newArr.length; j++) {
if (num % newArr[j] !== 0) {
return false;
}
}
return num
}
function multi (num,low) {
num *= low
result = check(num)
if (result == false) {
result = multi(num,low+1)
}
else {
return result
}
}
let answer = multi(large,small)
return answer;
}
console.log(smallestCommons([5,1]));
```

```
**Your browser information:**
```

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36`

**Challenge:** Smallest Common Multiple

**Link to the challenge:**