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.
4 esid: sec-date.prototype-@@toprimitive
5 description: Date.prototype[Symbol.toPrimitive] `name` property
7 The value of the name property of this function is "[Symbol.toPrimitive]".
13 Unless otherwise specified, the name property of a built-in Function
14 object, if it exists, has the attributes { [[Writable]]: false,
15 [[Enumerable]]: false, [[Configurable]]: true }.
16 features: [Symbol.toPrimitive]
17 includes: [propertyHelper.js]
21 Date.prototype[Symbol.toPrimitive].name, '[Symbol.toPrimitive]'
24 verifyNotEnumerable(Date.prototype[Symbol.toPrimitive], 'name');
25 verifyNotWritable(Date.prototype[Symbol.toPrimitive], 'name');
26 verifyConfigurable(Date.prototype[Symbol.toPrimitive], 'name');