Shopify.formatmoney
/*
The line of code below should get you your product price, formatted
using your stores set currency.
--- Important note: ---
Be sure to mind the single quotes wrapped around the
second argument used in the Shopify.formatMoney method.
Omitting the quotes will result in a JavaScript syntax error.
*/
let formattedPrice = Shopify.formatMoney(product.price, '{{ shop.money_with_currency_format }}')
console.log("Formatted Product Price: " + formattedPrice)
CoderHomie