Add fractionalSecondDigits

close https://github.com/tc39/test262/issues/2591
This commit is contained in:
Frank Yung-Fong Tang 2020-04-22 15:27:10 -07:00 committed by Rick Waldron
parent 31dabb5618
commit 9c6ab189b7
1 changed files with 2 additions and 0 deletions

View File

@ -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);