Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabbott/react-native-express
/ fetchData
Function
fetchData
examples/files/javascript/fetch.js:1–5 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
const
fetchData =
async
() => {
2
const
response =
await
fetch(
'https://randomuser.me/api/'
)
3
const
data =
await
response.json()
4
return
data
5
}
6
7
const
printData =
async
() => {
8
try {
Callers
1
printData
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected