Intl.DisplayNames.length should be 2 (#2711)

`locales` and `options` are not optional parameters. So the length should be 2.
This commit is contained in:
Yusuke Suzuki 2020-07-20 16:29:05 -07:00 committed by GitHub
parent fb05c9a4df
commit 538fcd88d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
/*--- /*---
esid: sec-Intl.DisplayNames esid: sec-Intl.DisplayNames
description: > description: >
Intl.DisplayNames.length is 0. Intl.DisplayNames.length is 2.
info: | info: |
ECMAScript Standard Built-in Objects: ECMAScript Standard Built-in Objects:
@ -24,7 +24,7 @@ features: [Intl.DisplayNames]
---*/ ---*/
verifyProperty(Intl.DisplayNames, "length", { verifyProperty(Intl.DisplayNames, "length", {
value: 0, value: 2,
enumerable: false, enumerable: false,
writable: false, writable: false,
configurable: true, configurable: true,