Debian Codegraph @

js/src/tests/test262/built-ins/Reflect/construct/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.2
5 description: >
6 Reflect.construct.length value and property descriptor
7 info: |
8 26.1.2 Reflect.construct ( target, argumentsList [, newTarget] )
9
10 The length property of the construct function is 2.
11 includes: [propertyHelper.js]
12 features: [Reflect, Reflect.construct]
13 ---*/
14
15 verifyProperty(Reflect.construct, "length", {
16 value: 2,
17 writable: false,
18 enumerable: false,
19 configurable: true
20 });
21
22 reportCompare(0, 0);