forked from M3-Academy/challenge-algorithms-v2.0
4 lines
111 B
JavaScript
4 lines
111 B
JavaScript
export function sum(values) {
|
|
// implementar logica aqui
|
|
return values.reduce((acc, cur) => acc + cur, 0)
|
|
} |