summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Symbol/asyncIterator/prop-desc.js
blob: 872b52b2ee6eb8c5a4f200a3b6667b9cd7357c48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2018 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-symbol.asynciterator
description: >
    `Symbol.asyncIterator` property descriptor
info: |
    This property has the attributes { [[Writable]]: false, [[Enumerable]]:
    false, [[Configurable]]: false }.
includes: [propertyHelper.js]
features: [Symbol.asyncIterator]
---*/

assert.sameValue(typeof Symbol.asyncIterator, 'symbol');

verifyProperty(Symbol, 'asyncIterator', {
    enumerable: false,
    writable: false,
    configurable: false,
});

reportCompare(0, 0);