Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/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 ---*/
13
14 assert.sameValue(
15 Reflect.construct.length, 2,
16 'The value of `Reflect.construct.length` is `2`'
17 );
18
19 verifyNotEnumerable(Reflect.construct, 'length');
20 verifyNotWritable(Reflect.construct, 'length');
21 verifyConfigurable(Reflect.construct, 'length');