JavaScript erhalten Währungssymbol vom Gebietsschema

async function getCurrencySymbol() {
    const response = await fetch("http://www.geoplugin.net/json.gp");
    const data = await response.json();
    return data.geoplugin_currencySymbol;
}

const currency = await getCurrencySymbol();
DenverCoder1