File size: 89 Bytes
faca43f
 
 
1
2
3
4
export function sum(nums: number[]): number {
	return nums.reduce((a, b) => a + b, 0);
}