Features
Explore
About
Townie
AI
Docs
Pricing
Log in
Sign up
Log in
Sign up
count
@baj
Public
Script
Fork
0 Likes
Code
Pull Requests
Forks
References
Dependencies
Versions
v4
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Sign up with GitHub
count
Script
v4
Fork
1
2
3
4
5
6
export
const
count
=
(
async
(
)
=>
{
let
count
=
0
;
function
myApi
(
)
{
return
count
++
;
}
}
)
(
)
;
October 23, 2023
Copy module URL
https://esm.town/v/baj/count
Copy script tag
<script type="module" src="https://esm.town/v/baj/count" />
Copy embed code
Copy link
Copy Val ID