Debian Codegraph @

js/src/tests/test262/built-ins/Reflect/set/length.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.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 features: [Reflect, Reflect.set]
13 ---*/
14
15 verifyProperty(Reflect.set, "length", {
16 value: 3,
17 writable: false,
18 enumerable: false,
19 configurable: true
20 });
21
22 reportCompare(0, 0);