add "fractionalSecondDigits"

This commit is contained in:
Frank Yung-Fong Tang 2020-04-22 15:32:25 -07:00 committed by Rick Waldron
parent 9c6ab189b7
commit 4fb0e70db0
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +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-dayPeriod]
features: [Intl.DateTimeFormat-dayPeriod,Intl.DateTimeFormat-fractionalSecondDigits]
---*/
const options = new Intl.DateTimeFormat([], {
@ -24,6 +24,7 @@ const expected = [
"dayPeriod",
"hour",
"minute",
"fractionalSecondDigits",
];
assert.compareArray(Object.getOwnPropertyNames(options), expected);