| 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: 21.1.2.4 |
| 5 |
description: > |
| 6 |
String.raw.name value and property descriptor |
| 7 |
info: | |
| 8 |
String.raw ( template , ...substitutions ) |
| 9 |
|
| 10 |
17 ECMAScript Standard Built-in Objects |
| 11 |
|
| 12 |
includes: [propertyHelper.js] |
| 13 |
---*/ |
| 14 |
|
| 15 |
assert.sameValue( |
| 16 |
String.raw.name, 'raw', |
| 17 |
'The value of `String.raw.name` is `"raw"`' |
| 18 |
); |
| 19 |
|
| 20 |
verifyNotEnumerable(String.raw, 'name'); |
| 21 |
verifyNotWritable(String.raw, 'name'); |
| 22 |
verifyConfigurable(String.raw, 'name'); |