summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Reflect/has/name.js
blob: 62e68d8983fca2b048f2ea48af14a992b392099f (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.9
description: >
  Reflect.has.name value and property descriptor
info: |
  26.1.9 Reflect.has ( target, propertyKey )

  17 ECMAScript Standard Built-in Objects

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

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

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

reportCompare(0, 0);