Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Symbol/toPrimitive/prop-desc.js

raw
1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 es6id: 19.4.2.12
5 description: >
6 `Symbol.toPrimitive` property descriptor
7 info: |
8 This property has the attributes { [[Writable]]: false, [[Enumerable]]:
9 false, [[Configurable]]: false }.
10 includes: [propertyHelper.js]
11 features: [Symbol.toPrimitive]
12 ---*/
13
14 assert.sameValue(typeof Symbol.toPrimitive, 'symbol');
15 verifyNotEnumerable(Symbol, 'toPrimitive');
16 verifyNotWritable(Symbol, 'toPrimitive');
17 verifyNotConfigurable(Symbol, 'toPrimitive');