Debian Codegraph @

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