Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShivaBhattacharjee/KeyZen
/ main
Function
main
data/javascript/01_fetch_api.js:9–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
}
8
9
async
function
main() {
10
try {
11
const
user =
await
fetchUser(123);
12
console.log(user.name);
13
} catch (err) {
14
console.error(
"Failed:"
, err.message);
15
}
16
}
17
18
main();
Callers
1
01_fetch_api.js
File · 0.70
Calls
2
fetchUser
Function · 0.70
log
Method · 0.45
Tested by
no test coverage detected