Debian Codegraph @

js/src/tests/test262/intl402/Intl/supportedValuesOf/name.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.name 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 "name"
13 property whose value is a String. Unless otherwise specified, this value is
14 the name that is given to the function in this specification. Functions that
15 are identified as anonymous functions use the empty String as the value of
16 the "name" property. For functions that are specified as properties of
17 objects, the name value is the property name string used to access the
18 function.
19
20 Unless otherwise specified, the "name" property of a built-in function object
21 has the attributes { [[Writable]]: false, [[Enumerable]]: false,
22 [[Configurable]]: true }.
23 includes: [propertyHelper.js]
24 features: [Intl-enumeration]
25 ---*/
26
27 verifyProperty(Intl.supportedValuesOf, "name", {
28 value: "supportedValuesOf",
29 writable: false,
30 enumerable: false,
31 configurable: true,
32 });
33
34 reportCompare(0, 0);