mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Fix comment (#4430)
This commit is contained in:
parent
d77a127c21
commit
ef4305ee4d
@ -10,8 +10,8 @@ info: |
|
||||
Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate, endDate )
|
||||
|
||||
...
|
||||
4. Let x be ? ToNumberToDateTimeFormattable(startDate).
|
||||
5. Let y be ? ToNumberToDateTimeFormattable(endDate).
|
||||
4. Let x be ? ToDateTimeFormattable(startDate).
|
||||
5. Let y be ? ToDateTimeFormattable(endDate).
|
||||
6. Return ? FormatDateTimeRangeToParts(dtf, x, y).
|
||||
|
||||
ToDateTimeFormattable ( value )
|
||||
@ -26,8 +26,7 @@ info: |
|
||||
|
||||
PartitionDateTimeRangePattern ( dateTimeFormat, x, y )
|
||||
|
||||
...
|
||||
5. If IsTemporalObject(x) is true or IsTemporalObject(y) is true, then
|
||||
1. If IsTemporalObject(x) is true or IsTemporalObject(y) is true, then
|
||||
a. If SameTemporalType(x, y) is false, throw a TypeError exception.
|
||||
...
|
||||
features: [Temporal]
|
||||
|
Loading…
x
Reference in New Issue
Block a user