async function fetchData() { const response = await fetch(url); const data = await response.json(); return data; }
const result = await someAsyncFunction();