summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Symbol/toPrimitive/prop-desc.js
blob: d919618237e8369967b20953b9f2e4eaa725dc37 (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.12
description: >
    `Symbol.toPrimitive` property descriptor
info: |
    This property has the attributes { [[Writable]]: false, [[Enumerable]]:
    false, [[Configurable]]: false }.
includes: [propertyHelper.js]
features: [Symbol.toPrimitive]
---*/

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

reportCompare(0, 0);