Debian Codegraph @

js/src/tests/test262/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 verifyProperty(Symbol, 'toPrimitive', {
16 writable: false,
17 enumerable: false,
18 configurable: false,
19 });
20
21 reportCompare(0, 0);