forked from M3-Academy/challenge-algorithms-v2.0
feature/algorithms #1
@ -1,4 +1,6 @@
|
||||
export function sum(values) {
|
||||
// implementar logica aqui
|
||||
|
||||
return values.reduce((ac, value) => {
|
||||
return ac += value;
|
||||
}, 0);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user