mirror of https://github.com/tc39/test262.git
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:
parent
fb05c9a4df
commit
538fcd88d8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue