Value of the unit property in objects returned by
Intl.RelativeTimeFormat.prototype.formatToParts(). formatToParts and
format methods accept either singular or plural unit names as input,
but formatToParts only outputs singular (e.g. "day") not plural (e.g.
"days").
Value of the
unit
property in objects returned byIntl.RelativeTimeFormat.prototype.formatToParts()
.formatToParts
andformat
methods accept either singular or plural unit names as input, butformatToParts
only outputs singular (e.g. "day") not plural (e.g. "days").MDN.