open_in_new
content_copy
fetch('https://geolocation-db.com/json/') .then(res => res.json()) .then(prom => console.log(prom));