**Tell us what’s happening:**

Describe your issue in detail here.

**Your code so far**

```
const sum = (...args) => {
return args.reduce((a, b) => a + b, 0);
}
console.log(sum(1, 2, 3)); // 6
```

**Your browser information:**

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

**Challenge:** ES6 - Use the Rest Parameter with Function Parameters

**Link to the challenge:**

so I spent 2 hours trying to figure this challenge out. then I gave up and checked the forum, then the Hint, then the solution. The code above is the solution given on the site, i did not write it.

The forum and the Hint used functions that have not been taught yet on FreeCodeCamp. the reduce().

Did I skip some lessons?

I completed every previous lesson twice (I like to finish a lesson than redo it a week later so i remember it better).

please help.