mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +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
|
||||
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…
x
Reference in New Issue
Block a user