Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
huggingchat/chat-ui
SoSa123456
/
chat-ui
like
0
Build error
App
Files
Files
Community
cad5ba6
chat-ui
/
src
/
lib
/
utils
/
sum.ts
coyotte508
HF staff
✨ Save messages in backend (#31)
ad02fa3
unverified
over 1 year ago
raw
Copy download link
history
blame
Safe
89 Bytes
export
function
sum
(
nums:
number
[]
):
number
{
return
nums.
reduce
(
(
a, b
) =>
a + b,
0
);
}