zeroMN's picture
Upload 517 files
8d88d9b verified
export function sum(nums: number[]): number {
return nums.reduce((a, b) => a + b, 0);
}