MCPcopy
hub / github.com/sudheerj/javascript-interview-questions / fetchData

Function fetchData

coding-exercise/async-await-error.js:1–3  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1async function fetchData() {
2 throw new Error('Network error');
3}
4
5async function getData() {
6 try {

Callers 1

getDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected