Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
huggingchat/chat-ui
unbrandedhuman
/
DUET
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
DUET
/
src
/
lib
/
utils
/
sum.ts
unbrandedhuman
Upload 83 files
1e95ed5
almost 2 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
);
}