Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Duplicated from
huggingchat/chat-ui
adowu
/
chat-aww
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
chat-aww
/
src
/
lib
/
utils
/
sum.ts
Eliott C
✨ Save messages in backend (#31)
ad02fa3
unverified
about 3 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
89 Bytes
export
function
sum
(
nums:
number
[]
):
number
{
return
nums.
reduce
(
(
a, b
) =>
a + b,
0
);
}