mirror of
https://github.com/tc39/test262.git
synced 2025-07-25 15:04:43 +02:00
Add fractionalSecondDigits
close https://github.com/tc39/test262/issues/2591
This commit is contained in:
parent
31dabb5618
commit
9c6ab189b7
@ -5,6 +5,7 @@
|
|||||||
esid: sec-intl.datetimeformat.prototype.resolvedoptions
|
esid: sec-intl.datetimeformat.prototype.resolvedoptions
|
||||||
description: Verifies the property order for the object returned by resolvedOptions().
|
description: Verifies the property order for the object returned by resolvedOptions().
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
features: [Intl.DateTimeFormat-fractionalSecondDigits]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const options = new Intl.DateTimeFormat([], {
|
const options = new Intl.DateTimeFormat([], {
|
||||||
@ -36,6 +37,7 @@ const expected = [
|
|||||||
"minute",
|
"minute",
|
||||||
"second",
|
"second",
|
||||||
"timeZoneName",
|
"timeZoneName",
|
||||||
|
"fractionalSecondDigits",
|
||||||
];
|
];
|
||||||
|
|
||||||
assert.compareArray(Object.getOwnPropertyNames(options), expected);
|
assert.compareArray(Object.getOwnPropertyNames(options), expected);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user