I have some dynamic elements in my Shopify theme, for which I want to display prices in the correct currency and locale. There is Shopify's Shop.moneyFormat, which I can use, but the documentation doesn't say which values it can take. So far I encountered ${{amount}} or €{{amount_with_comma_separator}} but is the first symbol always the currency symbol or are there other variants as well?
Is it generally a good idea to get the currency from Shop.moneyFormat, the language from location.pathname and then use Intl.NumberFormat to format the string?