4 lines
122 B
JavaScript
4 lines
122 B
JavaScript
export function sum(values) {
|
|
// implementar logica aqui
|
|
return values.reduce((total, values) => total + values, 0);
|
|
} |