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