Features
Explore
About
Townie
AI
Docs
Pricing
Log in
Sign up
Log in
Sign up
myApi
@wfortin
Public
Script
Fork
0 Likes
Code
Pull Requests
Forks
References
Dependencies
Versions
v2
myApi
Script
v2
Fork
1
2
3
4
export
function
myApi
(
name
)
{
const
lastUsedName
=
name
;
return
"hi "
+
name
;
}
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/wfortin/myApi
Copy script tag
<script type="module" src="https://esm.town/v/wfortin/myApi" />
Copy embed code
Copy link
Copy Val ID