formatCurrency() is a wrapper for Intl.NumberFormat() making easy format amounts.
Basic usage:
// See the source code for allowed params. 123456789.formatCurrency();