Debian Codegraph @

js/src/tests/test262/intl402/DisplayNames/name.js

raw
1 // Copyright (C) 2019 Leo Balter. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-Intl.DisplayNames
6 description: >
7 Intl.DisplayNames.name is "DisplayNames".
8 info: |
9 17 ECMAScript Standard Built-in Objects:
10
11 Every built-in Function object, including constructors, that is not
12 identified as an anonymous function has a name property whose value is a
13 String.
14
15 Unless otherwise specified, the name property of a built-in Function object,
16 if it exists, has the attributes { [[Writable]]: false, [[Enumerable]]:
17 false, [[Configurable]]: true }.
18 includes: [propertyHelper.js]
19 features: [Intl.DisplayNames]
20 ---*/
21
22 verifyProperty(Intl.DisplayNames, "name", {
23 value: "DisplayNames",
24 writable: false,
25 enumerable: false,
26 configurable: true,
27 });
28
29 reportCompare(0, 0);