mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 14:04:51 +02:00
add "fractionalSecondDigits"
This commit is contained in:
parent
9c6ab189b7
commit
4fb0e70db0
@ -5,7 +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-dayPeriod]
|
features: [Intl.DateTimeFormat-dayPeriod,Intl.DateTimeFormat-fractionalSecondDigits]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const options = new Intl.DateTimeFormat([], {
|
const options = new Intl.DateTimeFormat([], {
|
||||||
@ -24,6 +24,7 @@ const expected = [
|
|||||||
"dayPeriod",
|
"dayPeriod",
|
||||||
"hour",
|
"hour",
|
||||||
"minute",
|
"minute",
|
||||||
|
"fractionalSecondDigits",
|
||||||
];
|
];
|
||||||
|
|
||||||
assert.compareArray(Object.getOwnPropertyNames(options), expected);
|
assert.compareArray(Object.getOwnPropertyNames(options), expected);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user