summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Reflect/get/name.js
blob: d474d98e0f9f56507d2bba0d09443d6009c9fdd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 26.1.6
description: >
  Reflect.get.name value and property descriptor
info: |
  26.1.6 Reflect.get ( target, propertyKey [ , receiver ])

  17 ECMAScript Standard Built-in Objects

includes: [propertyHelper.js]
features: [Reflect]
---*/

assert.sameValue(
  Reflect.get.name, 'get',
  'The value of `Reflect.get.name` is `"get"`'
);

verifyNotEnumerable(Reflect.get, 'name');
verifyNotWritable(Reflect.get, 'name');
verifyConfigurable(Reflect.get, 'name');

reportCompare(0, 0);