const mapUrl = 'https://'; (async (getUrl) => { const response = await fetch(mapUrl); const data = await response.json(); console.log(data); })();