mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +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
|
||||
description: Verifies the property order for the object returned by resolvedOptions().
|
||||
includes: [compareArray.js]
|
||||
features: [Intl.DateTimeFormat-fractionalSecondDigits]
|
||||
---*/
|
||||
|
||||
const options = new Intl.DateTimeFormat([], {
|
||||
@ -36,6 +37,7 @@ const expected = [
|
||||
"minute",
|
||||
"second",
|
||||
"timeZoneName",
|
||||
"fractionalSecondDigits",
|
||||
];
|
||||
|
||||
assert.compareArray(Object.getOwnPropertyNames(options), expected);
|
||||
|
Loading…
x
Reference in New Issue
Block a user