tc39 / proposal-intl-relative-time

`Intl.RelativeTimeFormat` specification [draft]
http://tc39.github.io/proposal-intl-relative-time/
215 stars 24 forks source link

"an optional argument value" #73

Closed Ms2ger closed 6 years ago

Ms2ger commented 6 years ago

When the Intl.RelativeTimeFormat.prototype.format is called with an optional argument value, the following steps are taken:

When the Intl.RelativeTimeFormat.prototype.formatToParts is called with an optional argument value, the following steps are taken:

Both of these methods have two required arguments, rather than a single optional one.

littledan commented 6 years ago

That's right, this was some poor copypasta. PRs welcome.