mirror of https://github.com/tc39/test262.git
23 lines
571 B
JavaScript
23 lines
571 B
JavaScript
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
es6id: 21.1.2.4
|
|
description: >
|
|
String.raw.name value and property descriptor
|
|
info: |
|
|
String.raw ( template , ...substitutions )
|
|
|
|
17 ECMAScript Standard Built-in Objects
|
|
|
|
includes: [propertyHelper.js]
|
|
---*/
|
|
|
|
assert.sameValue(
|
|
String.raw.name, 'raw',
|
|
'The value of `String.raw.name` is `"raw"`'
|
|
);
|
|
|
|
verifyNotEnumerable(String.raw, 'name');
|
|
verifyNotWritable(String.raw, 'name');
|
|
verifyConfigurable(String.raw, 'name');
|