Debian Codegraph @

js/src/tests/test262/intl402/Intl/supportedValuesOf/length.js

raw
1 // Copyright (C) 2021 André Bargull. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-intl.supportedvaluesof
6 description: >
7 Intl.supportedValuesOf.length value and descriptor.
8 info: |
9 Intl.supportedValuesOf ( key )
10
11 18 ECMAScript Standard Built-in Objects:
12 Every built-in function object, including constructors, has a "length"
13 property whose value is a non-negative integral Number. Unless otherwise
14 specified, this value is equal to the number of required parameters shown in
15 the subclause heading for the function description. Optional parameters and
16 rest parameters are not included in the parameter count.
17
18 Unless otherwise specified, the "length" property of a built-in function
19 object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
20 [[Configurable]]: true }.
21 includes: [propertyHelper.js]
22 features: [Intl-enumeration]
23 ---*/
24
25 verifyProperty(Intl.supportedValuesOf, "length", {
26 value: 1,
27 writable: false,
28 enumerable: false,
29 configurable: true,
30 });
31
32 reportCompare(0, 0);