Answers for "javascript get currency symbol from locale"

1

javascript get currency symbol from locale

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();
Posted by: Guest on May-30-2021

Code answers related to "javascript get currency symbol from locale"

Code answers related to "Javascript"

Browse Popular Code Answers by Language