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.
5 description: RegExp.prototype[Symbol.replace] `name` property
7 The value of the name property of this function is "[Symbol.replace]".
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 includes: [propertyHelper.js]
17 features: [Symbol.replace]
20 assert.sameValue(RegExp.prototype[Symbol.replace].name, '[Symbol.replace]');
22 verifyNotEnumerable(RegExp.prototype[Symbol.replace], 'name');
23 verifyNotWritable(RegExp.prototype[Symbol.replace], 'name');
24 verifyConfigurable(RegExp.prototype[Symbol.replace], 'name');