Debian Codegraph @

js/src/tests/test262/built-ins/Symbol/asyncIterator/prop-desc.js

raw
1 // Copyright (C) 2018 Leo Balter. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-symbol.asynciterator
6 description: >
7 `Symbol.asyncIterator` property descriptor
8 info: |
9 This property has the attributes { [[Writable]]: false, [[Enumerable]]:
10 false, [[Configurable]]: false }.
11 includes: [propertyHelper.js]
12 features: [Symbol.asyncIterator]
13 ---*/
14
15 assert.sameValue(typeof Symbol.asyncIterator, 'symbol');
16
17 verifyProperty(Symbol, 'asyncIterator', {
18 enumerable: false,
19 writable: false,
20 configurable: false,
21 });
22
23 reportCompare(0, 0);