Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Reflect/has/name.js

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