From 538fcd88d88c8e11782f13997ad90f6ce4f12286 Mon Sep 17 00:00:00 2001 From: Yusuke Suzuki Date: Mon, 20 Jul 2020 16:29:05 -0700 Subject: [PATCH] Intl.DisplayNames.length should be 2 (#2711) `locales` and `options` are not optional parameters. So the length should be 2. --- test/intl402/DisplayNames/length.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/intl402/DisplayNames/length.js b/test/intl402/DisplayNames/length.js index 1171bb8941..1d02c201f2 100644 --- a/test/intl402/DisplayNames/length.js +++ b/test/intl402/DisplayNames/length.js @@ -4,7 +4,7 @@ /*--- esid: sec-Intl.DisplayNames description: > - Intl.DisplayNames.length is 0. + Intl.DisplayNames.length is 2. info: | ECMAScript Standard Built-in Objects: @@ -24,7 +24,7 @@ features: [Intl.DisplayNames] ---*/ verifyProperty(Intl.DisplayNames, "length", { - value: 0, + value: 2, enumerable: false, writable: false, configurable: true,