let sum = function () { let result = 0; for (let index = 0; index < arguments.length; index++) { result += arguments[index]; } return result; }