Features
Explore
About
Townie
AI
Docs
Pricing
Log in
Sign up
Log in
Sign up
add
@vtdocs
Public
Script
Fork
0 Likes
Code
Pull Requests
Forks
References
Dependencies
Versions
v1
October 23, 2023
Copy module URL
https://esm.town/v/vtdocs/add
Copy script tag
<script type="module" src="https://esm.town/v/vtdocs/add" />
Copy embed code
Copy link
Copy Val ID
add
Script
v1
Fork
1
2
3
4
export
const
add
=
(
opts
:
{
a
:
number
;
b
:
number
;
}
)
=>
opts
.
a
+
opts
.
b
;
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Sign up with GitHub
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023
Copy module URL
https://esm.town/v/vtdocs/add
Copy script tag
<script type="module" src="https://esm.town/v/vtdocs/add" />
Copy embed code
Copy link
Copy Val ID