GetData von der Fetch -API in Variable
async function getData(url) {
const response = await fetch(url);
return response.json();
}
const data = await getData(url);
console.log({ data })
Ugly Unicorn