Closed Ms2ger closed 6 years ago
1.1.3 PartitionRelativeTimePattern ( relativeTimeFormat, value, unit ) If isFinite(value) is false, then throw a RangeError exception.
1.1.3 PartitionRelativeTimePattern ( relativeTimeFormat, value, unit )
I can guess what it means, but it doesn't seem to be defined.
In ECMA-262, we usually check for the three nonfinite values, e.g., https://tc39.github.io/ecma262/#sec-isfinite-number . I'd suggest doing the same here. PRs welcome!
I can guess what it means, but it doesn't seem to be defined.