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

View File

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