blob: 6e4515ea812ce269f3211ad05483d2b553b6d2ba [file] [log] [blame]
// 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');