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