showing results for - "javascript get currency symbol from locale"
Domenico
17 Jan 2019
1async function getCurrencySymbol() {
2    const response = await fetch("http://www.geoplugin.net/json.gp");
3    const data = await response.json();
4    return data.geoplugin_currencySymbol;
5}
6
7const currency = await getCurrencySymbol();