tc39 / proposal-intl-duration-format

https://tc39.es/proposal-intl-duration-format
MIT License
165 stars 18 forks source link

normative: throw rangeerror with strings #130

Closed ryzokuken closed 1 year ago

ryzokuken commented 1 year ago

Throw a RangeError on string inputs in ToDurationRecord for future Temporal compatibility.

Fixes: https://github.com/tc39/proposal-intl-duration-format/issues/128

cc @Constellation (I cannot request you as a reviewer for some reason)

FrankYFTang commented 1 year ago

please review https://github.com/tc39/test262/pull/3752/