mirror of
https://github.com/tc39/test262.git
synced 2025-07-24 22:45:10 +02:00
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
|
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user