Debian Codegraph @

js/src/tests/test262/built-ins/Iterator/concat/name.js

raw
1 // |reftest| shell-option(--enable-iterator-sequencing) skip-if(!Iterator.concat||!xulRuntime.shell) -- iterator-sequencing is not enabled unconditionally, requires shell-options
2 // Copyright (C) 2024 André Bargull. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 esid: sec-iterator.concat
7 description: >
8 The "name" property of Iterator.concat
9 info: |
10 17 ECMAScript Standard Built-in Objects
11
12 Every built-in Function object, including constructors, that is not
13 identified as an anonymous function has a name property whose value is a
14 String. Unless otherwise specified, this value is the name that is given to
15 the function in this specification.
16
17 ...
18
19 Unless otherwise specified, the name property of a built-in Function
20 object, if it exists, has the attributes { [[Writable]]: false,
21 [[Enumerable]]: false, [[Configurable]]: true }.
22 features: [iterator-sequencing]
23 includes: [propertyHelper.js]
24 ---*/
25
26 verifyProperty(Iterator.concat, "name", {
27 value: "concat",
28 writable: false,
29 enumerable: false,
30 configurable: true,
31 });
32
33 reportCompare(0, 0);