coyotte508's picture
coyotte508 HF staff
✨ Save messages in backend (#31)
ad02fa3 unverified
raw
history blame contribute delete
89 Bytes
export function sum(nums: number[]): number {
return nums.reduce((a, b) => a + b, 0);
}