MCPcopy 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

1const fetchData = async () => {
2 const response = await fetch('https://randomuser.me/api/')
3 const data = await response.json()
4 return data
5}
6
7const printData = async () => {
8 try {

Callers 1

printDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected