Old (Object):
const nf = new Intl.NumberFormat('en-US', {
style: 'unit',
unit: 'meter-and-centimeter',
});
nf.format({ meter: 1, centimeter: 80 });
New (Array):
const nf = new Intl.NumberFormat('en-US', {
style: 'unit',
unit: 'meter-and-centimeter',
});
nf.format([1, 80]);