Features
Explore
About
Townie
AI
Docs
Pricing
Log in
Sign up
Log in
Sign up
sum
@stevekrouse
Public
Script
Fork
0 Likes
Code
Pull Requests
Forks
References
1
Dependencies
Versions
v2
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Sign up with GitHub
sum
Script
v2
Fork
1
export
let
sum
=
a
=>
a
.
reduce
(
(
a
,
b
)
=>
a
+
b
,
0
)
October 23, 2023
Copy module URL
https://esm.town/v/stevekrouse/sum
Copy script tag
<script type="module" src="https://esm.town/v/stevekrouse/sum" />
Copy embed code
Copy link
Copy Val ID