I need to format a number in US dollars using Javascript often (you know the whole bit with the $, the commas, and the two decimal points) and I just learned that this is a standards-supported one-liner these days. Assuming our number is stored as the value in a variable called num: `${num.toLocaleString('en-US', { style: 'currency', currency: "USD" })}` Yay, no more having to include d3-format just to get some nice number formatting.