Debian Codegraph @

js/src/tests/test262/built-ins/Iterator/concat/prop-desc.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 Property descriptor of Iterator.concat
9 info: |
10 Iterator.concat
11
12 * is the initial value of the Iterator.concat property of the global object.
13
14 17 ECMAScript Standard Built-in Objects
15
16 Every other data property described in clauses 18 through 26 and in Annex B.2
17 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
18 [[Configurable]]: true } unless otherwise specified.
19 features: [iterator-sequencing]
20 includes: [propertyHelper.js]
21 ---*/
22
23 verifyProperty(Iterator, "concat", {
24 value: Iterator.concat,
25 writable: true,
26 enumerable: false,
27 configurable: true,
28 });
29
30 reportCompare(0, 0);