0
GGGiovanny Gongora
Calculates the sum of two or more numbers/arrays.
0 Comments
const sum = (...arr: Array<number>) => [...arr].reduce((acc, val) => acc + val, 0);