logo

Crowdly

Browser

Add to Chrome

Was passiert bei folgendem Code? async function loadData() {   const res = a...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Was passiert bei folgendem Code?

async function loadData() {

  const res = await fetch("https://api.example.com/data");

  const json = await res.json();

  return json;

}

loadData()

  .then((d) => console.log("OK", d))

  .catch((e) => console.log("ERR", e));

40%
60%
40%
40%
More questions like this

Want instant access to all verified answers on moodle.spengergasse.at?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome