DakMak's picture
Duplicate from coyotte508/chat-ui
ece0c29
raw
history blame contribute delete
89 Bytes
export function sum(nums: number[]): number {
return nums.reduce((a, b) => a + b, 0);
}