| 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.6 |
| 5 |
description: > |
| 6 |
Reflect.get.length value and property descriptor |
| 7 |
info: | |
| 8 |
26.1.6 Reflect.get ( target, propertyKey [ , receiver ]) |
| 9 |
|
| 10 |
The length property of the get function is 2. |
| 11 |
includes: [propertyHelper.js] |
| 12 |
---*/ |
| 13 |
|
| 14 |
assert.sameValue( |
| 15 |
Reflect.get.length, 2, |
| 16 |
'The value of `Reflect.get.length` is `2`' |
| 17 |
); |
| 18 |
|
| 19 |
verifyNotEnumerable(Reflect.get, 'length'); |
| 20 |
verifyNotWritable(Reflect.get, 'length'); |
| 21 |
verifyConfigurable(Reflect.get, 'length'); |