Why isn't my solution acceptable?

Why isn’t my solution acceptable?

My code so far

'use strict';
const sum = (...myNumbers) => {
let myInt = 0;
for (let myNumber of myNumbers) {
  myInt += myNumber;
return myInt;

console.log(sum(1, 2, 3, 5))

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0.

Challenge: Use the Rest Parameter with Function Parameters

Link to the challenge:

What you’ve written is technically correct, but the challenge is asking you to just leave the code as-is except for using rest parameters. So replacing the reduce call with a loop version will cause the tests to fail, as the tests will no longer be able to check that the code matches what they expect.