summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Symbol/toStringTag/prop-desc.js
blob: e55efdd3e9d2c8dc1f72b825f94d4cf4e87a2482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 19.4.2.13
description: >
    `Symbol.toStringTag` property descriptor
info: |
    This property has the attributes { [[Writable]]: false, [[Enumerable]]:
    false, [[Configurable]]: false }.
includes: [propertyHelper.js]
features: [Symbol.toStringTag]
---*/

assert.sameValue(typeof Symbol.toStringTag, 'symbol');
verifyNotEnumerable(Symbol, 'toStringTag');
verifyNotWritable(Symbol, 'toStringTag');
verifyNotConfigurable(Symbol, 'toStringTag');

reportCompare(0, 0);