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